From 2d9534da516df2130d3f3b17eb4ae039cc47d4cf Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 5 Aug 2009 12:29:12 -0400 Subject: 0.7.3 -- more robust copyright notices in files --- plugins/repo/commit.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'plugins/repo/commit.sh') diff --git a/plugins/repo/commit.sh b/plugins/repo/commit.sh index d85dd01..f76324e 100644 --- a/plugins/repo/commit.sh +++ b/plugins/repo/commit.sh @@ -1,6 +1,6 @@ #!@SHELL@ name='rvs repo commit' -ver='0.7.2' +ver='0.7.3' # Copyright (C) 2009 Luke Shumaker # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -14,8 +14,6 @@ source "$libexecdir/lib/stdio" # commit FILE file=${1-.} -warn "$file" - if [ ! -e $file ]; then error "file \`$file' does not exist"; # START file type list elif [ -L $file ]; then type='l'; # symbolic link @@ -30,7 +28,8 @@ elif [ -s $file ]; then type='s'; # socket else error "could not identify file type of \`$file'" fi -ret=`"$libexecdir/commit.$type" "$file"` +out "+$type `pwd`/$file" +ret=`"$RVS" commit.$type "$file"` tmp=`tempfile` cat << __EOF__ > "$tmp" @@ -42,6 +41,6 @@ owner:$owner license:$license __EOF__ -"$libexecdir/commit.f" "$tmp" +"$RVS" commit.f "$tmp" rm "$tmp" -- cgit v1.2.3-54-g00ecf