summaryrefslogtreecommitdiff
path: root/rvs/plugins/files/bin/get.f.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rvs/plugins/files/bin/get.f.sh')
-rw-r--r--rvs/plugins/files/bin/get.f.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/rvs/plugins/files/bin/get.f.sh b/rvs/plugins/files/bin/get.f.sh
index b137911..00508ab 100644
--- a/rvs/plugins/files/bin/get.f.sh
+++ b/rvs/plugins/files/bin/get.f.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-name='rvs files get.f'
+name='get.f'
ver=0.9
-# Copyright (C) 2009 Luke Shumaker
+# Copyright (C) 2009-2010 Luke Shumaker
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -17,11 +17,11 @@ ver=0.9
# along with this program; see the file COPYING.
# If not, see <http://www.gnu.org/licenses>.
-#. "$LIBDIR/@ID@/stdio"
+. "$LIBDIR/@ID@/stdio"
-usage="usage: $RVS get.f FILENAME ID"
-name="${1?"$usage"}"
- id="${2?"$usage"}"
+usage="FILENAME ID"
+name="`getvar "$1"`"
+ id="`getvar "$2"`"
install -T "$REPO/@ID@/$id" "$name"