mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
build: Use commit hash if branch cannot be identified
This commit is contained in:
committed by
mborgerson
parent
624cf97095
commit
8604d7e41e
@@ -14,7 +14,7 @@ XEMU_COMMIT=$( \
|
||||
XEMU_BRANCH=$( \
|
||||
cd "$dir"; \
|
||||
if test -e .git; then \
|
||||
git symbolic-ref --short HEAD; \
|
||||
git symbolic-ref --short HEAD || echo $XEMU_COMMIT; \
|
||||
elif test -e XEMU_BRANCH; then \
|
||||
cat XEMU_BRANCH; \
|
||||
fi)
|
||||
|
||||
Reference in New Issue
Block a user