From 914fa4c420179f6a1c944d4fbda696c6e4169c11 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Thu, 21 May 2015 10:45:17 +0200 Subject: [PATCH] fix run_xgettext.sh ignore smarty3/compiled folder --- util/run_xgettext.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/run_xgettext.sh b/util/run_xgettext.sh index 0ceda6813..75f85786a 100755 --- a/util/run_xgettext.sh +++ b/util/run_xgettext.sh @@ -12,7 +12,7 @@ then fi if [ $ADDONMODE ] -then +then cd "$FULLPATH/../addon/$ADDONNAME" mkdir -p "$FULLPATH/../addon/$ADDONNAME/lang/C" OUTFILE="$FULLPATH/../addon/$ADDONNAME/lang/C/messages.po" @@ -23,7 +23,7 @@ else OUTFILE="$FULLPATH/messages.po" FINDSTARTDIR="../../" # skip addon folder - FINDOPTS="-wholename */addon -prune -o" + FINDOPTS="( -wholename */addon -or -wholename */smarty3 ) -prune -o" fi F9KVERSION=$(sed -n "s/.*'FRIENDICA_VERSION'.*'\([0-9.]*\)'.*/\1/p" ../../boot.php); @@ -45,7 +45,7 @@ done echo "setup base info.." if [ $ADDONMODE ] -then +then sed -i "s/SOME DESCRIPTIVE TITLE./ADDON $ADDONNAME/g" "$OUTFILE" sed -i "s/YEAR THE PACKAGE'S COPYRIGHT HOLDER//g" "$OUTFILE" sed -i "s/FIRST AUTHOR , YEAR.//g" "$OUTFILE"