From c28871c0753f199bf200db41164e043c4adfbbb5 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 1 Jun 2015 08:06:57 +0000 Subject: [PATCH] scripts-targets.mk: Replace /bin/sh by /bin/bash in scripts-targets.mk Signed-off-by: Jan Lindemann --- make/scripts-targets.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make/scripts-targets.mk b/make/scripts-targets.mk index bde7a7ac..803ba079 100644 --- a/make/scripts-targets.mk +++ b/make/scripts-targets.mk @@ -11,22 +11,22 @@ endif HOME_BIN_EXE_SH = $(addprefix $(HOME)/bin/, $(notdir $(EXE_SH))) $(HOME)/bin/%.py: %.py - echo -e "#!/bin/sh\nexec /usr/bin/python $(shell pwd)/$<" '"$$@"' > $@.tmp + echo -e "#!/bin/bash\nexec /usr/bin/python $(shell pwd)/$<" '"$$@"' > $@.tmp chmod 755 $@.tmp mv $@.tmp $@ $(HOME)/bin/%.pl: %.pl - echo -e "#!/bin/sh\nexec /usr/bin/perl $(shell pwd)/$<" '"$$@"' > $@.tmp + echo -e "#!/bin/bash\nexec /usr/bin/perl $(shell pwd)/$<" '"$$@"' > $@.tmp chmod 755 $@.tmp mv $@.tmp $@ $(HOME)/bin/%.sh: %.sh - echo -e "#!/bin/sh\n. $(shell pwd)/$<" '"$$@"' > $@.tmp + echo -e "#!/bin/bash\n. $(shell pwd)/$<" '"$$@"' > $@.tmp chmod 755 $@.tmp mv $@.tmp $@ $(HOME)/bin/%: % - echo -e "#!/bin/sh\n. $(shell pwd)/$<" '"$$@"' > $@.tmp + echo -e "#!/bin/bash\n. $(shell pwd)/$<" '"$$@"' > $@.tmp chmod 755 $@.tmp mv $@.tmp $@