summaryrefslogtreecommitdiff
path: root/doSH
diff options
context:
space:
mode:
authorLarry Wall <lwall@netlabs.com>1991-11-05 06:28:20 +0000
committerLarry Wall <lwall@netlabs.com>1991-11-05 06:28:20 +0000
commitdb4e6270383b6e0b809aef95676865769ae4ca61 (patch)
tree1aa7213328cda0c4e022245d9eabcec8f4f26524 /doSH
parent11aea3600896e20487883b2cb767b57027617482 (diff)
downloadperl-db4e6270383b6e0b809aef95676865769ae4ca61.tar.gz
perl 4.0 patch 13: patch #11, continued
See patch #11.
Diffstat (limited to 'doSH')
-rw-r--r--doSH9
1 files changed, 6 insertions, 3 deletions
diff --git a/doSH b/doSH
index 4b02784d79..ec3a1fc286 100644
--- a/doSH
+++ b/doSH
@@ -3,6 +3,8 @@
: if this fails, just run all the .SH files by hand
. ./config.sh
+rm -f x2p/config.sh
+
echo " "
echo "Doing variable substitutions on .SH files..."
set x `awk '{print $1}' <MANIFEST | grep '\.SH'`
@@ -21,16 +23,17 @@ for file in $*; do
*/*)
dir=`expr X$file : 'X\(.*\)/'`
file=`expr X$file : 'X.*/\(.*\)'`
- (cd $dir && . $file)
+ (cd $dir && . ./$file)
;;
*)
- . $file
+ . ./$file
;;
esac
done
if test -f config.h.SH; then
if test ! -f config.h; then
: oops, they left it out of MANIFEST, probably, so do it anyway.
- . config.h.SH
+ . ./config.h.SH
fi
fi
+exit 0