From 85586566654ca4e6a93d539f87ccfa844aaec6c8 Mon Sep 17 00:00:00 2001 From: dtrg Date: Wed, 26 Jul 2006 12:29:47 +0000 Subject: [PATCH] Now avoids piping shell scripts into a new instance of sh, instead using a subshell. --- lang/cem/cemcom.ansi/make.hfiles | 3 +-- lang/cem/cemcom/make.hfiles | 3 +-- lang/cem/cpp.ansi/make.hfiles | 3 +-- lang/m2/comp/make.hfiles | 3 +-- lang/pc/comp/make.hfiles | 3 +-- util/cpp/make.hfiles | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) 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)"