1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-30 14:50:12 +03:00

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.
This commit is contained in:
0140454 2017-01-16 11:46:39 +08:00 committed by Michail Vourlakos
parent beca6cdef7
commit 13cad3d4db

View File

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