Skip to content
Snippets Groups Projects
Commit c317af77 authored by Stijn Tintel's avatar Stijn Tintel
Browse files

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: default avatarStijn Tintel <stijn@linux-ipv6.be>
parent e64463eb
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment