summaryrefslogtreecommitdiffstats
path: root/bin/doins
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-28 12:36:43 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-28 12:36:43 +0000
commit7e2833fda5456e69674a6b5d18d63fed120fe27e (patch)
tree8d4a2f5704cf2a10ce3eab9b4a5d67e6a11a9ec4 /bin/doins
parentf2776a791a89fc4d0668f7dd93fc97185d5ae215 (diff)
downloadportage-7e2833fda5456e69674a6b5d18d63fed120fe27e.tar.gz
portage-7e2833fda5456e69674a6b5d18d63fed120fe27e.tar.bz2
portage-7e2833fda5456e69674a6b5d18d63fed120fe27e.zip
Fix quoting. (trunk r9489)
svn path=/main/branches/2.1.2/; revision=9567
Diffstat (limited to 'bin/doins')
-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