mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-01-22 21:39:29 +08:00
Merge pull request #475 from trapexit/version
fix version.hpp creation, again
This commit is contained in:
commit
50384f4e86
|
@ -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