Fix crash when a local deauth occurs (squash)
[build-utilities/hostap.git] / build_nsis.sh
1 #!/bin/sh
3 if [ -d nsis.in ]; then
4         /bin/rm -r nsis.in
5 fi
7 unzip -j -d nsis.in $1
8 VER=`echo $1 | sed "s/.*wpa_supplicant-windows-bin-\(.*\).zip/\1/"`
10 cat wpa_supplicant/wpa_supplicant.nsi |
11         sed "s/@WPAVER@/$VER/g" \
12         > nsis.in/wpa_supplicant.nsi
14 makensis nsis.in/wpa_supplicant.nsi
16 /bin/rm -r nsis.in