From a05b30d507deff7a8ae840ccfd27ae7d2606c5e0 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 5 Jul 2005 14:22:11 +0000 Subject: [PATCH] scripts.mk: ~/bin script now executes target script in the same shell --- make/scripts.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $@