aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/pmake/pmake.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pmake/pmake.mk b/package/pmake/pmake.mk
index 7b2e5a6efa..50613e8d4d 100644
--- a/package/pmake/pmake.mk
+++ b/package/pmake/pmake.mk
@@ -39,7 +39,7 @@ define HOST_PMAKE_INSTALL_CMDS
for mk in $(@D)/mk/*; do \
$(INSTALL) -m 0644 $${mk} $(HOST_DIR)/usr/share/pmake/mk; \
done
- printf '#!/bin/sh\nexec $${0%%/*}/bmake -m $${0%%/pmake}/../../usr/share/pmake/mk "$$@"\n' \
+ printf '#!/bin/bash\nexec -a "$${0}" $${0%%/*}/bmake -m $${0%%/*}/../../usr/share/pmake/mk "$$@"\n' \
>$(HOST_DIR)/usr/bin/pmake
chmod 0755 $(HOST_DIR)/usr/bin/pmake
endef