summaryrefslogtreecommitdiff
path: root/lib/sbin/CVSUpdate.pl
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-05-04 06:52:58 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-05-04 06:52:58 +0000
commit0a6f6bbe76075af0ed47b74c0a8899651f080f4e (patch)
tree41ba65fe4c66c1f3b633112c39ca0615606c7043 /lib/sbin/CVSUpdate.pl
parentc4e1ca81be954d619caade2c647ae1e9d7c79b15 (diff)
Add arguements for updating to a tagged version, this is not integrated
with gmake yet. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2783 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CVSUpdate.pl')
-rw-r--r--lib/sbin/CVSUpdate.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sbin/CVSUpdate.pl b/lib/sbin/CVSUpdate.pl
index ab519c2e..4f036459 100644
--- a/lib/sbin/CVSUpdate.pl
+++ b/lib/sbin/CVSUpdate.pl
@@ -11,6 +11,8 @@
$cvs_ops="-z6 -q";
$cvs_update_ops="-d -P";
+# Set this to eg -r TAGNAME checkout from a TAG
+$cvs_symbolic_name="";
require "lib/sbin/MakeUtils.pl";
@@ -21,7 +23,7 @@ if ($debug)
}
print("\nUpdating Flesh\n");
-$command = "cvs $cvs_ops update $cvs_update_ops CONTRIBUTORS COPYRIGHT Makefile lib doc src";
+$command = "cvs $cvs_ops update $cvs_update_ops $cvs_symbolic_name CONTRIBUTORS COPYRIGHT Makefile lib doc src";
if ($debug)
{
$this_dir = `pwd`;
@@ -69,7 +71,7 @@ foreach $thorn (sort keys %info)
}
chdir $thorn;
print("\nUpdating $thorn\n");
- $command = "cvs $cvs_ops update $cvs_update_ops";
+ $command = "cvs $cvs_ops update $cvs_update_ops $cvs_symbolic_name";
if($debug)
{
$this_dir = `pwd`;