From: Jouni Malinen Date: Sat, 9 Nov 2013 13:40:06 +0000 (+0200) Subject: tests: Do not override existing .config from build.sh X-Git-Tag: hostap_2_1~563 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c9057970b203e28b511760823ea4ca24c4f5732;p=thirdparty%2Fhostap.git tests: Do not override existing .config from build.sh This allows the build.sh script to be used to rebuild binaries based on existing configuration in addition to the initial case of preparing suitable build configuration. Signed-hostap: Jouni Malinen --- diff --git a/tests/hwsim/build.sh b/tests/hwsim/build.sh index 042af7532..a65ff593e 100755 --- a/tests/hwsim/build.sh +++ b/tests/hwsim/build.sh @@ -5,11 +5,15 @@ set -e cd $(dirname $0) cd ../../wpa_supplicant -cp ../tests/hwsim/example-wpa_supplicant.config .config +if [ ! -e .config ]; then + cp ../tests/hwsim/example-wpa_supplicant.config .config +fi make clean make -j8 cd ../hostapd -cp ../tests/hwsim/example-hostapd.config .config +if [ ! -e .config ]; then + cp ../tests/hwsim/example-hostapd.config .config +fi make clean make -j8 hostapd hlr_auc_gw cd ../wlantest