From 419801528066ea61546cde30c9f9f7f953e823b5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 2 Nov 2009 20:33:40 -0500 Subject: It appears I'd previously edited other files, but as far as I knew a moment ago: The Makefiles have had support for DESTDIR for some time. I just realised configure didn't Which lead me to find some bugs in configure's option handling. --- rvs/plugins/files/commit.f.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rvs/plugins/files/commit.f.sh') diff --git a/rvs/plugins/files/commit.f.sh b/rvs/plugins/files/commit.f.sh index bbcbbe4..a86e5b5 100644 --- a/rvs/plugins/files/commit.f.sh +++ b/rvs/plugins/files/commit.f.sh @@ -20,12 +20,13 @@ ver=0.9 #source "$libexecdir/@ID@/stdio" # commit.f FILENAME -file="$1" +out="$1" +file="$2" #hash=`md5sum $file | sed "s/ .*$//"` hash=`sha1sum $file | sed "s/ .*$//"` if [ ! -f "$REPO/@ID@/$hash" ]; then install -m 644 -o $USER -g $USER -T "$file" "$REPO/@ID@/$hash" fi -echo "$hash" +echo "$hash" >> "$out" -- cgit v1.2.3-54-g00ecf