From 0833756f9afadd87fbde0aef07b4ff5663f59613 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 14 Aug 2012 09:18:37 +0000 Subject: Quote BN and DN git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@545 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- rvi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rvi') 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 -- cgit v1.2.3