summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-19 19:49:00 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-19 19:49:00 +0000
commitc91d55c80e603ed8931a6d522b39da8a83fad45a (patch)
treea3b198890859bcd01493bc0415eab1bf6cd8b76c
parent7f3e19c4bf389b401f35ef0eaa2eb803179a0de4 (diff)
downloadportage-c91d55c80e603ed8931a6d522b39da8a83fad45a.tar.gz
portage-c91d55c80e603ed8931a6d522b39da8a83fad45a.tar.bz2
portage-c91d55c80e603ed8931a6d522b39da8a83fad45a.zip
Fix quoting.
svn path=/main/trunk/; revision=9489
-rwxr-xr-xbin/doins2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/doins b/bin/doins
index e9404a77c..a4f5ee22f 100755
--- a/bin/doins
+++ b/bin/doins
@@ -53,7 +53,7 @@ for x in "$@" ; do
while [ "$x" != "${x%/}" ] ; do
x=${x%/}
done
- if [ $x = "${x%/*}" ] ; then
+ if [ "$x" = "${x%/*}" ] ; then
pushd "$PWD" >/dev/null
else
pushd "${x%/*}" >/dev/null