aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2010-04-06 14:12:17 (GMT)
committerJouni Malinen <j@w1.fi>2010-04-06 14:12:17 (GMT)
commit2c657c8dcd2cb4ebd0e8ff80228d72bc5c75d0d7 (patch)
tree50ed3f3b76b83bd632970c16da115f202c271b65 /hostapd/Makefile
parent2c593629051611cca5e6fd657ea0ba6edb13f963 (diff)
downloadhostap-2c657c8dcd2cb4ebd0e8ff80228d72bc5c75d0d7.zip
hostap-2c657c8dcd2cb4ebd0e8ff80228d72bc5c75d0d7.tar.gz
hostap-2c657c8dcd2cb4ebd0e8ff80228d72bc5c75d0d7.tar.bz2
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>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index c1891dc..17e2cae 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -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 \