summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2012-08-14 09:18:37 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2012-08-14 09:18:37 +0000
commit0833756f9afadd87fbde0aef07b4ff5663f59613 (patch)
tree57252abfcfec44b3e5d7471ec34a7b1b985cf420
parentc977fbf008e8438c3de9df57d93789671b7fb0a5 (diff)
Quote BN and DN
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@545 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xrvi4
1 files changed, 2 insertions, 2 deletions
diff --git a/rvi b/rvi
index c1b57d9..c19577e 100755
--- a/rvi
+++ b/rvi
@@ -48,8 +48,8 @@ else
exit 1
fi
-DN=`dirname "$1"`
-BN=`basename "$1"`
+DN="`dirname "$1"`"
+BN="`basename "$1"`"
if ! [ -e "$1,v" ] && ! [ -e "$DN/RCS/$BN,v" ] ; then
echo "Neither $1,v nor $DN/RCS/$BN,v do not exist." >&2
exit 1