Add missing quotes on pushd argument from previous commit.
authorZac Medico <zmedico@gentoo.org>
Sun, 5 Oct 2008 03:40:25 +0000 (03:40 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 5 Oct 2008 03:40:25 +0000 (03:40 -0000)
svn path=/main/trunk/; revision=11624

bin/doins

index 12a48eb69729c8b25cfefabb0c7b779a179753cb..4b1bbc22926282c6217870988bed0c8f1f58f76b 100755 (executable)
--- a/bin/doins
+++ b/bin/doins
@@ -70,7 +70,7 @@ for x in "$@" ; do
                while [ -L "$x" ] ; do
                        pushd "$(readlink "$x")"
                        x=${PWD##*/}
-                       pushd ${PWD%/*}
+                       pushd "${PWD%/*}"
                done
                find "$x" -type d -exec dodir "${INSDESTTREE}/{}" \;
                find "$x" \( -type f -or -type l \) -print0 | _xdoins