diff --git a/install.sh b/install.sh index 1e4180e2b7..ef9249a883 100755 --- a/install.sh +++ b/install.sh @@ -554,7 +554,7 @@ do_unmount() { MOUNTS=$(printf $MOUNTS | grep "^$1" | sort -r) if [ -n "${MOUNTS}" ]; then set -x - umount ${MOUNTS} + xargs -n 1 umount <<< ${MOUNTS} else set -x fi diff --git a/package/rpm/install.sh b/package/rpm/install.sh index d4f8b6d047..e1342fabd4 100755 --- a/package/rpm/install.sh +++ b/package/rpm/install.sh @@ -554,7 +554,7 @@ do_unmount() { MOUNTS=$(printf $MOUNTS | grep "^$1" | sort -r) if [ -n "${MOUNTS}" ]; then set -x - umount ${MOUNTS} + xargs -n 1 umount <<< ${MOUNTS} else set -x fi