summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-10-13 17:55:35 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2005-10-13 17:55:35 +0000
commite83bd739fda7ac05934cac425a511d8270999822 (patch)
treecbf110858e93db9421176b5588d647c0c404bc27
parent0181d28c643d5e18e4303a104ef0efd04c7592fc (diff)
Use the user supplied filename, not cgi.cfg
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@29 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xrvi2
1 files changed, 1 insertions, 1 deletions
diff --git a/rvi b/rvi
index 1e0ce3d..f02c240 100755
--- a/rvi
+++ b/rvi
@@ -12,7 +12,7 @@ if ! [ -e "$1,v" ] && ! [ -e "$DN/RCS/$BN,v" ] ; then
exit 1
fi
-owner=`stat -c "%u:%g" cgi.cfg`
+owner=`stat -c "%u:%g" $1`
rcsdiff -u $1
if [ $? -ne 0 ] ; then
rcsdiff $1 > $1.rvi.diff