summaryrefslogtreecommitdiff
path: root/plugins/repo/get.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-08-03 19:03:08 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:13 -0600
commitfc8d2f56a8104e755766fbbca4729906000cf78d (patch)
treeb902e17f5e59e960772d215ee613a73c8a87226b /plugins/repo/get.sh
parentaa5141e77203fd084d809f27d55192a988723803 (diff)
0.7.2 -- refactor slightly, flesh out plugin: users
Diffstat (limited to 'plugins/repo/get.sh')
-rw-r--r--plugins/repo/get.sh10
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"