diff options
author | jlam <jlam@pkgsrc.org> | 2002-11-14 23:36:01 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-11-14 23:36:01 +0000 |
commit | 82f91e945a483a2a51b75200f5553634b81d28bf (patch) | |
tree | 0c8b3af91983d80cd6886db47631cf30f55c7c51 /mk | |
parent | d6130503419506990d3e1aa6fb82f52364c457af (diff) | |
download | pkgsrc-82f91e945a483a2a51b75200f5553634b81d28bf.tar.gz |
Reset IFS sooner so that recursive calls to the gen() function work
correctly with Solaris' ksh (not sure why this didn't break on NetBSD's
/bin/sh). Analysis and fix by Jonathan Perkin <sketch@rd.bbc.co.uk>.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/gen-transform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/buildlink2/gen-transform.sh b/mk/buildlink2/gen-transform.sh index 00b0db10617..355c53429bf 100644 --- a/mk/buildlink2/gen-transform.sh +++ b/mk/buildlink2/gen-transform.sh @@ -25,6 +25,7 @@ gen() { esac save_IFS="${IFS}"; IFS=":" set -- $1 + IFS="${save_IFS}" case "$1" in I|L) case "$action" in @@ -122,7 +123,6 @@ EOF esac ;; esac - IFS="${save_IFS}" } for arg; do |