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
|
fi
|
||||||
if test "$cmd" = install ; then
|
if test "$cmd" = install ; then
|
||||||
target="$mandir/$link.$section"
|
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" \
|
"ln -s $base.$section $target" \
|
||||||
"cp -f $mandir/$base.$section $target"
|
"cp -f $mandir/$base.$section $target"
|
||||||
do
|
do
|
||||||
if eval "$cmd"; then
|
if eval "$lncmd"; then
|
||||||
eval echo "$cmd"
|
eval echo "$lncmd"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if test "$catinstall" = yes -a -f "$srcdir/$c"; then
|
if test "$catinstall" = yes -a -f "$srcdir/$c"; then
|
||||||
target="$catdir/$link.$suffix"
|
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" \
|
"ln -fs $base.$suffix $target" \
|
||||||
"cp -f $catdir/$base.$suffix $target"
|
"cp -f $catdir/$base.$suffix $target"
|
||||||
do
|
do
|
||||||
if eval "$cmd"; then
|
if eval "$lncmd"; then
|
||||||
eval echo "$cmd"
|
eval echo "$lncmd"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user