Commit e0e967e3 authored by Mac Newbold's avatar Mac Newbold

Save the configure cmdline to a file.

parent d90d0fbc
......@@ -373,7 +373,7 @@ sub step_init {
print STDERR "ERROR: Could not copy defs file.\n";
doexit(1);
}
open(DEFS,">>$path/defs");
open(DEFS,">$path/defs");
print DEFS "TBDBNAME=$testdb\n";
print DEFS "TBOPSEMAIL=$user\@emulab.net\n";
print DEFS "TBLOGSEMAIL=$user\@emulab.net\n";
......@@ -389,6 +389,10 @@ sub step_init {
} else {
$testmode = "--enable-testmode --disable-events";
}
open(CONF,">$path/config");
print CONF "$basedir/../configure \\\n".
"--prefix=$path/install \\\n$testmode \\\n--with-TBDEFS=$path/defs\n";
close(CONF);
tbexec("$basedir/../configure --prefix=$path/install $testmode ".
"--with-TBDEFS=$path/defs",
"$path/configure.log");
......
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