Safer invocation of the RM, MKDIR and INSTALL wrappers
This commit is contained in:
parent
b38f63536b
commit
080c7accc3
@ -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
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ while [ $# -gt 0 ]; do
|
|||||||
|
|
||||||
#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