Specify delimiter for xargs used in uninstallation script

In default, xargs uses blanks to split input data.

But there is a path including space in `build/install_manifest.txt`, it
will cause xargs generate wrong command lines.

Therefore, we have to specify delimiter for xargs.
pull/1/head
0140454 8 years ago committed by Michail Vourlakos
parent d6061f098e
commit 1ef1de8411

@ -5,7 +5,7 @@
if [ -f build/install_manifest.txt ]; then if [ -f build/install_manifest.txt ]; then
echo "Uninstallation file exists..." echo "Uninstallation file exists..."
sudo xargs rm < build/install_manifest.txt sudo xargs -d '\n' rm < build/install_manifest.txt
else else
echo "Uninstallation file does not exist." echo "Uninstallation file does not exist."
fi fi

Loading…
Cancel
Save