summaryrefslogtreecommitdiff
path: root/plugins/repo/get.d.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/repo/get.d.sh')
-rw-r--r--plugins/repo/get.d.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/repo/get.d.sh b/plugins/repo/get.d.sh
index 9b1b5bc..834d8f5 100644
--- a/plugins/repo/get.d.sh
+++ b/plugins/repo/get.d.sh
@@ -1,6 +1,6 @@
#!@SHELL@
-name='rvs get.d'
-ver='0.7.0'
+name='rvs repo get.d'
+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,14 +9,14 @@ ver='0.7.0'
#
# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
-#source "$RVSDIR/lib/stdio"
+#source "$libexecdir/lib/stdio"
# get.d ID DIRNAME
id="$1"
dir="$2"
tmp=`tempfile`
-"$RVSDIR/get.f" "$id" "$tmp"
+"$libexecdir/get.f" "$id" "$tmp"
#install -d "$dir"
mkdir -p "$dir"
@@ -30,7 +30,7 @@ while read line; do
# POSIX version
hash=`echo "$line" | sed 's/^.*://'`
name=`echo "$line" | sed "s/:$hash$//"`
- "$RVSDIR/get" "$hash" "$name"
+ "$libexecdir/get" "$hash" "$name"
done < "$tmp"
rm "$tmp"