Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
93e227eb
Commit
93e227eb
authored
Jul 10, 2014
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweaks so that we can rerun this script if silly user
deletes something they should not.
parent
b9ea3aec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tbsetup/mkexpdir.in
tbsetup/mkexpdir.in
+2
-2
No files found.
tbsetup/mkexpdir.in
View file @
93e227eb
...
...
@@ -113,7 +113,7 @@ if (! chdir($expdir)) {
exit
(
-
1
);
}
if
(
!
mkdir
(
$eid
,
0770
))
{
if
(
!
-
e
$eid
&&
!
mkdir
(
$eid
,
0770
))
{
$exitval
=
$ERRNO
;
print
"
Could not mkdir
$eid
in
$expdir
: $!
\n
";
exit
(
$exitval
);
...
...
@@ -144,7 +144,7 @@ if (! chdir($eid)) {
# Create the experiment directory list in the new directory.
#
foreach
my
$dir
(
@dirlist
)
{
if
(
!
mkdir
(
$dir
,
0770
))
{
if
(
!
-
e
$dir
&&
!
mkdir
(
$dir
,
0770
))
{
fatal
("
Could not mkdir
$dir
in
$eiddir
: $!
");
}
...
...
Write
Preview
Markdown
is supported
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