diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/mklink.sh | 9 | ||||
-rwxr-xr-x | util/point.sh | 4 |
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" + |