Skip to content
GitLab
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
dedc71cf
Commit
dedc71cf
authored
Oct 12, 2006
by
Leigh B. Stoller
Browse files
Add debug timestamps.
parent
bb996961
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/libArchive.pm.in
View file @
dedc71cf
...
...
@@ -82,13 +82,18 @@ sub mysystem($)
{
my
($
command
)
=
@
_
;
TBDebugTimeStampsOn
();
#
Need
a
big
TMPDIR
for
svn
stuff
.
my
$
tmpdir
=
$
ENV
{
'TMPDIR'
};
$
ENV
{
'TMPDIR'
}
=
"/usr/testbed/tmp"
;
print
STDERR
"Running '$command'
\n
"
if
($
debug
);
TBDebugTimeStamp
($
command
);
my
$
retval
=
system
($
command
);
TBDebugTimeStamp
(
"Done"
);
$
ENV
{
'TMPDIR'
}
=
$
tmpdir
if
(
defined
($
tmpdir
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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