if git describe fails fall back to a placeholder

This commit is contained in:
Jeff Becker 2021-06-21 07:52:25 -04:00
parent 9e65f262f9
commit ff796cd142
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ test x$NDK = x && exit 1
echo "building abis: $build_abis"
root="$(readlink -f $(dirname $0)/../)"
out=$root/lokinet-jni-$(git describe)
out=$root/lokinet-jni-$(git describe || echo unknown)
mkdir -p $out
mkdir -p $root/build-android
cd $root/build-android