]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - version.sh
iw: Print 802.11u roaming consortium IE in scan results.
[thirdparty/iw.git] / version.sh
index 445d847014745524cdef9d6458feb86dbe19bae0..80e55abd734065130626981bb3c3f2b6f7a113f2 100755 (executable)
@@ -1,10 +1,8 @@
 #!/bin/sh
 
-VERSION="0.9.22"
+VERSION="3.11"
 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"