]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - version.sh
add "auth" command
[thirdparty/iw.git] / version.sh
index 74f852e9be71085aabb0e32d612bb4f779102211..db02f0daabf96d91d7a926f23f91c56e11af7016 100755 (executable)
@@ -1,10 +1,8 @@
 #!/bin/sh
 
-VERSION="0.9.14"
+VERSION="3.8"
 OUT="$1"
 
-echo '#include "iw.h"' > "$OUT"
-
 if head=`git rev-parse --verify HEAD 2>/dev/null`; then
        git update-index --refresh --unmerged > /dev/null
        descr=$(git describe)
@@ -21,4 +19,5 @@ else
        v="$VERSION"
 fi
 
+echo '#include "iw.h"' > "$OUT"
 echo "const char iw_version[] = \"$v\";" >> "$OUT"