summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-04-29 22:06:28 +0000
committerBodo Möller <bodo@openssl.org>1999-04-29 22:06:28 +0000
commitdea9babc59ca104719a5d2417c17f4aa9b7c1c6c (patch)
treefb42c9adbd6f03ea7c785b038a680a243ab8fa0f /util
parent299b36eaa4a78c5120429a2bf239385e9d3dbd11 (diff)
Superseded by mklink.pl.
Submitted by: Reviewed by: PR:
Diffstat (limited to 'util')
-rwxr-xr-xutil/mklink.sh41
1 files changed, 0 insertions, 41 deletions
diff --git a/util/mklink.sh b/util/mklink.sh
deleted file mode 100755
index 3eeba67b2e..0000000000
--- a/util/mklink.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-#
-# A bit of an ugly shell script used to actually 'link' files.
-# Used by 'make links'
-#
-
-PATH=$PATH:.:util:../util:../../util
-export PATH
-
-from=$1
-shift
-
-here=`pwd`
-tmp=`dirname $from`
-prefix='..'
-
-while [ `basename $tmp`x != ..x -a `basename $tmp`x != .x ]
-do
- prefix=../$prefix
- tmp=`dirname $tmp`
-done
-
-to=''
-while [ "$tmp"x != "x" -a "$tmp"x != ".x" ]
-do
- t=`basename $here`
- here=`dirname $here`
- to="/$t$to"
- tmp=`dirname $tmp`
-done
-to=$prefix$to
-
-if [ "$*"x != "x" ]; then
- for i in $*
- do
- rm -f $from/$i
- ln -s $to/$i $from/$i
- echo "$i => $from/$i"
- done
-fi
-exit 0;