summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/doins2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/doins b/bin/doins
index 12a48eb69..4b1bbc229 100755
--- 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