summaryrefslogtreecommitdiff
path: root/src/rvs-core/get.f.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/rvs-core/get.f.sh')
-rw-r--r--src/rvs-core/get.f.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rvs-core/get.f.sh b/src/rvs-core/get.f.sh
index 9e4cec7..3c17df5 100644
--- a/src/rvs-core/get.f.sh
+++ b/src/rvs-core/get.f.sh
@@ -1,7 +1,7 @@
#!$$SHELL$$
# abomination module:rvs:get:f
name='rvs get.f'
-ver='0.6.0'
+ver='0.6.3'
usage='[OPTIONS] ID FILENAME'
# Copyright (C) 2009 Luke Shumaker
# This program is distributed in the hope that it will be useful,
@@ -11,12 +11,12 @@ usage='[OPTIONS] ID FILENAME'
#
# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
-source "`rvs -d`/lib/stdio"
-source "`rvs -d`/lib/rvsdb"
+source "$RVSDIR/lib/stdio"
+source "$RVSDIR/lib/rvsdb"
# get.f ID FILENAME
id="$1"
file="$2"
-cp "$repo/files/$id" "$file"
+cp "`rvs repo`/files/$id" "$file"