aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1999-03-06 12:32:06 +0000
committerRalf S. Engelschall <rse@openssl.org>1999-03-06 12:32:06 +0000
commitbb8f3c58794868c65b9ac45f11c27d3a104e279e (patch)
tree9abcf3090fbaf08ba741ec31bb479207c58296bc /util
parent988788f697768524f1856d22abb8db340be646d5 (diff)
downloadopenssl-bb8f3c58794868c65b9ac45f11c27d3a104e279e.tar.gz
General source tree makefile cleanups: Made `making xxx in yyy...' display
consistent in the source tree and replaced `/bin/rm' by `rm'. Additonally cleaned up the `make links' target: Remove unnecessary semicolons, subsequent redundant removes, inline point.sh into mklink.sh to speed processing and no longer clutter the display with confusing stuff. Instead only the actually done links are displayed.
Diffstat (limited to 'util')
-rwxr-xr-xutil/mklink.sh9
-rwxr-xr-xutil/point.sh4
2 files changed, 6 insertions, 7 deletions
diff --git a/util/mklink.sh b/util/mklink.sh
index 1e052ed6ee..015586a9c3 100755
--- a/util/mklink.sh
+++ b/util/mklink.sh
@@ -21,15 +21,12 @@ do
done
to=..$to
-#echo from=$from
-#echo to =$to
-#exit 1
-
if [ "$*"x != "x" ]; then
for i in $*
do
- /bin/rm -f $from/$i
- point.sh $to/$i $from/$i
+ rm -f $from/$i
+ ln -s $to/$i $from/$i
+ echo "$i => $from/$i"
done
fi
exit 0;
diff --git a/util/point.sh b/util/point.sh
index 92c12e8282..47543c88e2 100755
--- a/util/point.sh
+++ b/util/point.sh
@@ -1,4 +1,6 @@
#!/bin/sh
-/bin/rm -f $2
+rm -f $2
ln -s $1 $2
+echo "$2 => $1"
+