Merge pull request #7908 from nupplaphil/bug/run_xgettext_version

Fix run_xgettext.sh FRIENDICA_VERSION
This commit is contained in:
Hypolite Petovan 2019-12-05 19:45:00 -05:00 committed by GitHub
commit 6ffe3c449c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ case "$MODE" in
# skip addon folder # skip addon folder
FINDOPTS="( -wholename */addon -or -wholename */addons -or -wholename */addons-extra -or -wholename */smarty3 ) -prune -o" 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" echo "Friendica version $F9KVERSION"
;; ;;
esac esac