mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-22 13:58:51 +08:00
fix version.hpp creation, again
This commit is contained in:
parent
0545da67ff
commit
73e8867400
|
@ -7,7 +7,11 @@ fi
|
|||
|
||||
VERSION=$(git describe --always --tags --dirty)
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 0
|
||||
VERSION=$(cat VERSION)
|
||||
fi
|
||||
|
||||
if [ "${VERSION}" = "" ]; then
|
||||
VERSION="unknown"
|
||||
fi
|
||||
|
||||
echo -n "${VERSION}" > VERSION
|
||||
|
|
Loading…
Reference in New Issue
Block a user