]> git.mxchange.org Git - friendica.git/commitdiff
fix run_xgettext.sh FRIENDICA_VERSION
authornupplaPhil <admin@philipp.info>
Thu, 5 Dec 2019 22:25:03 +0000 (23:25 +0100)
committernupplaPhil <admin@philipp.info>
Thu, 5 Dec 2019 22:25:03 +0000 (23:25 +0100)
bin/run_xgettext.sh

index 5c40df8b5f922e66e78e518122e239a8100a9482..8318a8c93d38e7c74e5b1ab9248587023ceeaced 100755 (executable)
@@ -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