Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
bd23f063
Commit
bd23f063
authored
Jan 23, 2006
by
Leigh B. Stoller
Browse files
Make sure that modified NS file lands in the same spot that batchexp
is putting it (into the archive).
parent
4b7a95e2
Changes
1
Show whitespace changes
Inline
Side-by-side
tbsetup/swapexp.in
View file @
bd23f063
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# EMULAB-COPYRIGHT
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
5
University of Utah and the Flux Group.
# Copyright (c) 2000-200
6
University of Utah and the Flux Group.
# All rights reserved.
# All rights reserved.
#
#
...
@@ -1056,8 +1056,9 @@ if (defined($logname)) {
...
@@ -1056,8 +1056,9 @@ if (defined($logname)) {
}
}
# Always copy the NS file into the archive.
# Always copy the NS file into the archive.
system
("
cp -p
$workdir
/
$eid
.ns
$userdir
/
$eid
.ns
");
system
("
cp -p
$workdir
/
$eid
.ns
$userdir
/archive/
$eid
.ns
");
libArchive::
TBExperimentArchiveAddFile
(
$pid
,
$eid
,
"
$userdir
/
$eid
.ns
")
==
0
or
libArchive::
TBExperimentArchiveAddFile
(
$pid
,
$eid
,
"
$userdir
/archive/
$eid
.ns
")
==
0
or
fatal
("
Failed to add
$userdir
/
$eid
.ns to the archive!
");
fatal
("
Failed to add
$userdir
/
$eid
.ns to the archive!
");
#
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment