hostapd: Use cp -f in make install

If hostapd is running, a make install fails with
cp: cannot create regular file `/usr/local/bin/hostapd': Text file busy

Use cp -f to avoid this error and force-override the file.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
This commit is contained in:
Michael Buesch 2010-04-06 17:12:17 +03:00 committed by Jouni Malinen
parent 2c59362905
commit 2c657c8dcd

View file

@ -728,7 +728,7 @@ verify_config:
fi
install: all
for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
for i in $(ALL); do cp -f $$i /usr/local/bin/$$i; done
../src/drivers/build.hostapd:
@if [ -e ../src/drivers/build.wpa_supplicant ]; then \