diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2009-08-05 12:29:12 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:13 -0600 |
commit | 2d9534da516df2130d3f3b17eb4ae039cc47d4cf (patch) | |
tree | 3db2e3c76ead77e7d4071cbd93c7e67f04a4f651 /plugins/repo/commit.sh | |
parent | fc8d2f56a8104e755766fbbca4729906000cf78d (diff) |
0.7.3 -- more robust copyright notices in files
Diffstat (limited to 'plugins/repo/commit.sh')
-rw-r--r-- | plugins/repo/commit.sh | 9 |
1 files changed, 4 insertions, 5 deletions
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" |