You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hostap/build_nsis.sh

17 lines
305 B
Bash

#!/bin/sh
if [ -d nsis.in ]; then
/bin/rm -r nsis.in
fi
unzip -j -d nsis.in $1
VER=`echo $1 | sed "s/.*wpa_supplicant-windows-bin-\(.*\).zip/\1/"`
cat wpa_supplicant/wpa_supplicant.nsi |
sed "s/@WPAVER@/$VER/g" \
> nsis.in/wpa_supplicant.nsi
makensis nsis.in/wpa_supplicant.nsi
/bin/rm -r nsis.in