diff --git a/make/scripts.mk b/make/scripts.mk index bb916600..2fc7dff1 100644 --- a/make/scripts.mk +++ b/make/scripts.mk @@ -12,7 +12,7 @@ install:$(INSTALLED_EXE_SH) HOME_BIN_EXE_SH = $(addprefix $(HOME)/bin/, $(notdir $(LOCAL_EXE_SH))) $(HOME)/bin/%: % - echo -e "#!/bin/sh\nsh $(shell pwd)/$< $$"'@' > $@.tmp + echo -e "#!/bin/sh\n. $(shell pwd)/$< $$"'@' > $@.tmp chmod 755 $@.tmp mv $@.tmp $@