From: nupplaPhil Date: Thu, 5 Dec 2019 22:25:03 +0000 (+0100) Subject: fix run_xgettext.sh FRIENDICA_VERSION X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d92989c15f78c4140a82ba332ecae7668a6d32b;p=friendica.git fix run_xgettext.sh FRIENDICA_VERSION --- diff --git a/bin/run_xgettext.sh b/bin/run_xgettext.sh index 5c40df8b5f..8318a8c93d 100755 --- a/bin/run_xgettext.sh +++ b/bin/run_xgettext.sh @@ -50,7 +50,7 @@ case "$MODE" in # skip addon folder FINDOPTS="( -wholename */addon -or -wholename */addons -or -wholename */addons-extra -or -wholename */smarty3 ) -prune -o" - F9KVERSION=$(sed -n "s/.*'FRIENDICA_VERSION'.*'\([0-9.]*\)'.*/\1/p" ./boot.php); + F9KVERSION=$(cat ./VERSION); echo "Friendica version $F9KVERSION" ;; esac