From 5cbc6057d2a2c7e00b466eb987acf04d68e1c18c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 2 Apr 2010 20:16:08 -0600 Subject: add a tree plugin to rvs, but I made a ton of other changes to get things working and facilitate this --- plugins/files/bin/get.f.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/files/bin/get.f.sh') diff --git a/plugins/files/bin/get.f.sh b/plugins/files/bin/get.f.sh index b137911..00508ab 100644 --- a/plugins/files/bin/get.f.sh +++ b/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 . -#. "$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" -- cgit v1.2.3-54-g00ecf