mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Support for Solaris default shell restriction
Some shells (like Solaris default /bin/sh) doesn't allow -e option for file existence check. Use -f instead.
This commit is contained in:
parent
7992b07f6a
commit
5008cb5e55
@ -731,7 +731,7 @@ install: all
|
|||||||
for i in $(ALL); do cp -f $$i /usr/local/bin/$$i; done
|
for i in $(ALL); do cp -f $$i /usr/local/bin/$$i; done
|
||||||
|
|
||||||
../src/drivers/build.hostapd:
|
../src/drivers/build.hostapd:
|
||||||
@if [ -e ../src/drivers/build.wpa_supplicant ]; then \
|
@if [ -f ../src/drivers/build.wpa_supplicant ]; then \
|
||||||
$(MAKE) -C ../src/drivers clean; \
|
$(MAKE) -C ../src/drivers clean; \
|
||||||
fi
|
fi
|
||||||
@touch ../src/drivers/build.hostapd
|
@touch ../src/drivers/build.hostapd
|
||||||
|
@ -26,7 +26,7 @@ verify_config:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkconfig:
|
mkconfig:
|
||||||
@if [ -e .config ]; then \
|
@if [ -f .config ]; then \
|
||||||
echo '.config exists - did not replace it'; \
|
echo '.config exists - did not replace it'; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
@ -1252,7 +1252,7 @@ endif
|
|||||||
dynamic_eap_methods: $(EAPDYN)
|
dynamic_eap_methods: $(EAPDYN)
|
||||||
|
|
||||||
../src/drivers/build.wpa_supplicant:
|
../src/drivers/build.wpa_supplicant:
|
||||||
@if [ -e ../src/drivers/build.hostapd ]; then \
|
@if [ -f ../src/drivers/build.hostapd ]; then \
|
||||||
$(MAKE) -C ../src/drivers clean; \
|
$(MAKE) -C ../src/drivers clean; \
|
||||||
fi
|
fi
|
||||||
@touch ../src/drivers/build.wpa_supplicant
|
@touch ../src/drivers/build.wpa_supplicant
|
||||||
|
Loading…
Reference in New Issue
Block a user