mirror of https://github.com/hak5/openwrt.git
iw: fix build on musl host
The empty version.sh script causes a problem when run by make: make[3]: /usr/bin/env bash: Shell program not found Adding a shebang line in version.sh seems to solve it. Fixes FS#977. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>openwrt-18.06
parent
e64463ebde
commit
c317af777b
|
@ -30,8 +30,7 @@ endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
echo "const char iw_version[] = \"$(PKG_VERSION)\";" > $(PKG_BUILD_DIR)/version.c
|
echo "const char iw_version[] = \"$(PKG_VERSION)\";" > $(PKG_BUILD_DIR)/version.c
|
||||||
rm -f $(PKG_BUILD_DIR)/version.sh
|
echo "#!/bin/sh" > $(PKG_BUILD_DIR)/version.sh
|
||||||
touch $(PKG_BUILD_DIR)/version.sh
|
|
||||||
chmod +x $(PKG_BUILD_DIR)/version.sh
|
chmod +x $(PKG_BUILD_DIR)/version.sh
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue