diff --git a/dba/create-database.sh b/dba/create-database.sh index 48e22bd1..b48e37e6 100755 --- a/dba/create-database.sh +++ b/dba/create-database.sh @@ -150,7 +150,7 @@ EOFAILURE fi # # Load the required base data -psql -qXAt ${PSQLOPTS} ${DBA} -f "${DBADIR}/base-data.sql" "${DBNAME}" | egrep -v '^10' +psql -qXAt ${PSQLOPTS} ${DBA} -f "${DBADIR}/base-data.sql" "${DBNAME}" | grep -E -v '^10' # # We can override the admin password generation for regression testing predictability diff --git a/scripts/po/rebuild-translations.sh b/scripts/po/rebuild-translations.sh index d8023f9b..01edd402 100755 --- a/scripts/po/rebuild-translations.sh +++ b/scripts/po/rebuild-translations.sh @@ -34,7 +34,7 @@ if [ -z "${AWL_LOCATION}" ] ; then exit 1 fi -egrep -l '(i18n|translate)' htdocs/*.php inc/*.php inc/ui/*.php > ${PODIR}/pofilelist.tmp1 +grep -E -l '(i18n|translate)' htdocs/*.php inc/*.php inc/ui/*.php > ${PODIR}/pofilelist.tmp1 sed "s:../awl:${AWL_LOCATION}:" ${PODIR}/pofilelist.txt >> ${PODIR}/pofilelist.tmp1 sort ${PODIR}/pofilelist.tmp1 | uniq > ${PODIR}/pofilelist.tmp xgettext --from-code=UTF-8 --no-location --add-comments=Translators --keyword=translate --keyword=i18n --output=${PODIR}/messages.tmp -s -f ${PODIR}/pofilelist.tmp