From 3d92989c15f78c4140a82ba332ecae7668a6d32b Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Thu, 5 Dec 2019 23:25:03 +0100 Subject: [PATCH] fix run_xgettext.sh FRIENDICA_VERSION --- bin/run_xgettext.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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