Commit 47be05c9 authored by David Johnson's avatar David Johnson

Remove git-backed repo clone in clientside prepare (see c19672e4).

parent 079a5f9d
#!/usr/bin/perl -w
#
# Copyright (c) 2000-2017 University of Utah and the Flux Group.
# Copyright (c) 2000-2019 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -312,6 +312,12 @@ system("rm -rf $RUNDIR/sudo/*");
print "Cleaning out /tmp ...\n";
system("rm -rf /tmp/* /tmp/.??*");
my $GITREPO = "/local/repository";
if (-e $GITREPO) {
print "Removing $GITREPO ...\n";
system("rm -rf $GITREPO");
}
print "Cleaning out /local/logs ...\n";
system("rm -rf /local/logs/* /local/logs/.??*");
......
#!/usr/bin/perl -w
#
# Copyright (c) 2000-2018 University of Utah and the Flux Group.
# Copyright (c) 2000-2019 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -434,6 +434,12 @@ system("rm -rf $RUNDIR/*.pid $RUNDIR/sudo/* $RUNDIR/pump.sock");
print "Clearing out /tmp ...\n";
system("rm -rf /tmp/* /tmp/.??*");
my $GITREPO = "/local/repository";
if (-e $GITREPO) {
print "Removing $GITREPO ...\n";
system("rm -rf $GITREPO");
}
print "Cleaning out /local/logs ...\n";
system("rm -rf /local/logs/* /local/logs/.??*");
......
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