mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 21:51:34 +02:00
15 lines
232 B
Diff
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
|