From fc8d2f56a8104e755766fbbca4729906000cf78d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Aug 2009 19:03:08 -0400 Subject: 0.7.2 -- refactor slightly, flesh out plugin: users --- plugins/repo/get.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/repo/get.sh') diff --git a/plugins/repo/get.sh b/plugins/repo/get.sh index fcb602a..52edc27 100644 --- a/plugins/repo/get.sh +++ b/plugins/repo/get.sh @@ -1,6 +1,6 @@ #!@SHELL@ -name='rvs get' -ver='0.7.0' +name='rvs repo get' +ver='0.7.2' # 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 @@ -9,18 +9,18 @@ ver='0.7.0' # # Originally written by Luke Shumaker . -source "$RVSDIR/lib/stdio" +source "$libexecdir/lib/stdio" # get ID [FILE] id="$1" tmp=`tempfile` -"$RVSDIR/get.f" "$id" "$tmp" +"$libexecdir/get.f" "$id" "$tmp" type="`sed -n 's/^type://p' "$tmp"`" file="${2-`sed -n 's/^name://p' "$tmp"`}" hash="`sed -n 's/^hash://p' "$tmp"`" out "-$type `pwd`/$file:$hash" -"$RVSDIR/get.$type" "$hash" "$file" +"$libexecdir/get.$type" "$hash" "$file" rm "$tmp" -- cgit v1.2.3-54-g00ecf