diff options
Diffstat (limited to 'plugins/repo/get.sh')
-rw-r--r-- | plugins/repo/get.sh | 10 |
1 files changed, 5 insertions, 5 deletions
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 <lukeshu@sbcglobal.net>. -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" |