Merged fixes from the configure project
This commit is contained in:
parent
7c696abefe
commit
f5fc4cb91a
@ -107,7 +107,7 @@ while [ $# -gt 0 ]; do
|
|||||||
|
|
||||||
#uninstall
|
#uninstall
|
||||||
if [ "$uninstall" -eq 1 ]; then
|
if [ "$uninstall" -eq 1 ]; then
|
||||||
$DEBUG $RM "$instdir/$target" || exit 2
|
$DEBUG $RM -- "$instdir/$target" || exit 2
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -116,12 +116,13 @@ while [ $# -gt 0 ]; do
|
|||||||
#XXX ignore errors
|
#XXX ignore errors
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "$0: $target: Could not create page" 1>&2
|
echo "$0: $target: Could not create page" 1>&2
|
||||||
install=0
|
$RM -- "$target"
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#install
|
#install
|
||||||
if [ "$install" -eq 1 ]; then
|
if [ "$install" -eq 1 ]; then
|
||||||
$DEBUG $MKDIR "$instdir" || exit 2
|
$DEBUG $MKDIR -- "$instdir" || exit 2
|
||||||
$DEBUG $INSTALL "$target" "$instdir/$target" || exit 2
|
$DEBUG $INSTALL -- "$target" "$instdir/$target" || exit 2
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user