Stop overwriting cmd.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20232 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -37,23 +37,23 @@ for f in "$@"; do
|
||||
fi
|
||||
if test "$cmd" = install ; then
|
||||
target="$mandir/$link.$section"
|
||||
for cmd in "ln -f $mandir/$base.$section $target" \
|
||||
for lncmd in "ln -f $mandir/$base.$section $target" \
|
||||
"ln -s $base.$section $target" \
|
||||
"cp -f $mandir/$base.$section $target"
|
||||
do
|
||||
if eval "$cmd"; then
|
||||
eval echo "$cmd"
|
||||
if eval "$lncmd"; then
|
||||
eval echo "$lncmd"
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test "$catinstall" = yes -a -f "$srcdir/$c"; then
|
||||
target="$catdir/$link.$suffix"
|
||||
for cmd in "ln -f $catdir/$base.$suffix $target" \
|
||||
for lncmd in "ln -f $catdir/$base.$suffix $target" \
|
||||
"ln -fs $base.$suffix $target" \
|
||||
"cp -f $catdir/$base.$suffix $target"
|
||||
do
|
||||
if eval "$cmd"; then
|
||||
eval echo "$cmd"
|
||||
if eval "$lncmd"; then
|
||||
eval echo "$lncmd"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user