aports/testing/radeontop/no-git-version.patch
2022-03-01 02:46:56 +01:00

15 lines
232 B
Diff

--- a/getver.sh
+++ b/getver.sh
@@ -1,10 +1,6 @@
#!/bin/sh
-ver=unknown
-
-if [ -n "`which git`" ] && git rev-parse HEAD 2>/dev/null; then
- ver=`git describe`
-fi
+ver=@VERSION@
cat > include/version.h << EOF
#ifndef VER_H