Browse Source

iw: fix build on musl host

RISCi_ATOM 6 years ago
parent
commit
2cf9fc1257
1 changed files with 1 additions and 2 deletions
  1. 1 2
      package/network/utils/iw/Makefile

+ 1 - 2
package/network/utils/iw/Makefile

@@ -30,8 +30,7 @@ endef
 
 define Build/Configure
 	echo "const char iw_version[] = \"$(PKG_VERSION)\";" > $(PKG_BUILD_DIR)/version.c
-	rm -f $(PKG_BUILD_DIR)/version.sh
-	touch $(PKG_BUILD_DIR)/version.sh
+	echo "#!/bin/sh" > $(PKG_BUILD_DIR)/version.sh
 	chmod +x $(PKG_BUILD_DIR)/version.sh
 endef