From: dtrg Date: Wed, 26 Jul 2006 12:29:47 +0000 (+0000) Subject: Now avoids piping shell scripts into a new instance of sh, instead X-Git-Tag: release-6-0-pre-1~69 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=85586566654ca4e6a93d539f87ccfa844aaec6c8;p=ack.git Now avoids piping shell scripts into a new instance of sh, instead using a subshell. --- diff --git a/lang/cem/cemcom.ansi/make.hfiles b/lang/cem/cemcom.ansi/make.hfiles index 53cbdc1dd..3bc972faf 100755 --- a/lang/cem/cemcom.ansi/make.hfiles +++ b/lang/cem/cemcom.ansi/make.hfiles @@ -32,5 +32,4 @@ p }' $1 echo '!EOF!' echo $IFCOMMAND -) | -sh +) | eval "$(cat)" diff --git a/lang/cem/cemcom/make.hfiles b/lang/cem/cemcom/make.hfiles index 53cbdc1dd..3bc972faf 100755 --- a/lang/cem/cemcom/make.hfiles +++ b/lang/cem/cemcom/make.hfiles @@ -32,5 +32,4 @@ p }' $1 echo '!EOF!' echo $IFCOMMAND -) | -sh +) | eval "$(cat)" diff --git a/lang/cem/cpp.ansi/make.hfiles b/lang/cem/cpp.ansi/make.hfiles index 53cbdc1dd..3bc972faf 100755 --- a/lang/cem/cpp.ansi/make.hfiles +++ b/lang/cem/cpp.ansi/make.hfiles @@ -32,5 +32,4 @@ p }' $1 echo '!EOF!' echo $IFCOMMAND -) | -sh +) | eval "$(cat)" diff --git a/lang/m2/comp/make.hfiles b/lang/m2/comp/make.hfiles index 53cbdc1dd..3bc972faf 100755 --- a/lang/m2/comp/make.hfiles +++ b/lang/m2/comp/make.hfiles @@ -32,5 +32,4 @@ p }' $1 echo '!EOF!' echo $IFCOMMAND -) | -sh +) | eval "$(cat)" diff --git a/lang/pc/comp/make.hfiles b/lang/pc/comp/make.hfiles index 53cbdc1dd..3bc972faf 100755 --- a/lang/pc/comp/make.hfiles +++ b/lang/pc/comp/make.hfiles @@ -32,5 +32,4 @@ p }' $1 echo '!EOF!' echo $IFCOMMAND -) | -sh +) | eval "$(cat)" diff --git a/util/cpp/make.hfiles b/util/cpp/make.hfiles index 53cbdc1dd..3bc972faf 100755 --- a/util/cpp/make.hfiles +++ b/util/cpp/make.hfiles @@ -32,5 +32,4 @@ p }' $1 echo '!EOF!' echo $IFCOMMAND -) | -sh +) | eval "$(cat)"