contrib/iw/version.sh

9 lines
127 B
Bash
Raw Normal View History

2009-02-02 13:18:46 +01:00
#!/bin/sh
2009-06-11 20:22:23 +02:00
VERSION="#VER#"
OUT="$1"
2009-02-02 13:18:46 +01:00
2011-11-29 22:29:11 +01:00
echo '#include "iw.h"' > "$OUT"
echo "const char iw_version[] = \"$VERSION\";" >> "$OUT"