Kaydet (Commit) 071d6daf authored tarafından Tomas Chvatal's avatar Tomas Chvatal

Fix undefined destdir if the directory was not existing prior the run.

üst 17c8f674
......@@ -152,7 +152,10 @@ sub getparameter
elsif ($param eq "-destdir") # new parameter for simple installer
{
$installer::globals::rootpath ne "" && die "must set destdir before -i or -simple";
$installer::globals::destdir = Cwd::realpath( shift @ARGV );
my $path = shift(@ARGV);
mkdir $path;
$installer::globals::destdir = Cwd::realpath($path);
}
elsif ($param eq "-simple") # new parameter for simple installer
{
......
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