Move wpa_drivers dependency into config_file.c
[hostap-gosc2009.git] / build_nsis.sh
blobe41bc362ccf2e48f7fabf600f193d373f65679fc
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