Commit fa1c524b authored by Leigh B Stoller's avatar Leigh B Stoller

Minor tweak to how we control the use of Archiving; use only the

ARCHIVESUPPORT variable from configure.
parent 80f24eba
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2005-2007 University of Utah and the Flux Group.
# Copyright (c) 2005-2010 University of Utah and the Flux Group.
# All rights reserved.
#
package Archive;
......@@ -32,7 +32,7 @@ use overload ('""' => 'Stringify');
my $TB = "@prefix@";
my $MAINSITE = @TBMAINSITE@;
my $ARCHSUPPORT = @ARCHIVESUPPORT@;
my $USEARCHIVE = ($MAINSITE || $ARCHSUPPORT);
my $USEARCHIVE = $ARCHSUPPORT;
my %ALLOWEDPID = ("testbed" => 1);
# XXX
my $ARCHIVEDIR = "/usr/testbed/exparchive";
......
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2005, 2006, 2007 University of Utah and the Flux Group.
# Copyright (c) 2005-2010 University of Utah and the Flux Group.
# All rights reserved.
#
# XXX Need to deal with locking at some point ...
......@@ -33,7 +33,7 @@ use Time::HiRes qw(gettimeofday);
my $TB = "@prefix@";
my $MAINSITE = @TBMAINSITE@;
my $ARCHSUPPORT = @ARCHIVESUPPORT@;
my $USEARCHIVE = ($MAINSITE || $ARCHSUPPORT);
my $USEARCHIVE = $ARCHSUPPORT;
my $ZIPINFO = "/usr/local/bin/zipinfo";
my $TAR = "/usr/bin/tar";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment