diff options
Diffstat (limited to 'iw/version.sh')
-rwxr-xr-x | iw/version.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iw/version.sh b/iw/version.sh index 5cb37778e..fb55f3b46 100755 --- a/iw/version.sh +++ b/iw/version.sh @@ -1,6 +1,6 @@ #!/bin/sh -VERSION="0.9.9" -OUT="version.h" +VERSION="#VER#" +OUT="$1" -echo "#define IW_VERSION \"$VERSION-nogit\"" > "$OUT" +echo "const char iw_version[] = \"$VERSION\";" > "$OUT" |