blob: fe9cd1cd92b7c35b15a400d277f616247abe9410 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff --git a/tcltk/tcl/unix/installManPage b/tcltk/tcl/unix/installManPage
index 93fd925..765d838 100755
--- a/tcltk/tcl/unix/installManPage
+++ b/tcltk/tcl/unix/installManPage
@@ -3,7 +3,7 @@
ZIP=:
while true; do
case $1 in
- -s | --symlinks ) S="-s ";;
+ -s | --symlinks ) SYM="-s ";;
-z | --compress ) ZIP=$2; shift ;;
-e | --extension ) Z=$2; shift ;;
-s | --suffix ) SUFFIX=$2; shift ;;
@@ -18,7 +18,7 @@ fi
MANPAGE=$1
DIR=$2
-test -z "$S" && S="$DIR/"
+test -z "$SYM" && SYM="$DIR/"
# A sed script to parse the alternative names out of a man page.
#
@@ -62,6 +62,6 @@ for f in $NAMES; do
$ZIP $DIR/$FIRST
else
rm -f $DIR/$f $DIR/$f.*
- ln $S$FIRST$Z $DIR/$f$Z
+ ln $SYM$FIRST$Z $DIR/$f$Z
fi
done
|