summaryrefslogtreecommitdiff
path: root/doSH
diff options
context:
space:
mode:
authorLarry Wall <lwall@netlabs.com>1993-10-07 23:00:00 +0000
committerLarry Wall <lwall@netlabs.com>1993-10-07 23:00:00 +0000
commit79072805bf63abe5b5978b5928ab00d360ea3e7f (patch)
tree96688fcd69f9c8d2110e93c350b4d0025eaf240d /doSH
parente334a159a5616cab575044bafaf68f75b7bb3a16 (diff)
downloadperl-79072805bf63abe5b5978b5928ab00d360ea3e7f.tar.gz
perl 5.0 alpha 2perl-5a2
[editor's note: from history.perl.org. The sparc executables originally included in the distribution are not in this commit.]
Diffstat (limited to 'doSH')
-rw-r--r--doSH10
1 files changed, 9 insertions, 1 deletions
diff --git a/doSH b/doSH
index 43fd322ea5..1e95ad6367 100644
--- a/doSH
+++ b/doSH
@@ -3,7 +3,15 @@
: if this fails, just run all the .SH files by hand
. ./config.sh
-rm -f x2p/config.sh
+(
+ cd x2p
+ rm -f config.sh
+ case "$d_symlink" in
+ *define*) ln -s ../config.sh . || ln ../config.sh .;;
+ *) ln ../config.sh . || ln -s ../config.sh .
+ esac
+)
+
cp cppstdin x2p
echo " "