diff --git a/xpinstall/packager/windows/makeall.pl b/xpinstall/packager/windows/makeall.pl index 9b5b93c34bc5..1a5e171df5a4 100644 --- a/xpinstall/packager/windows/makeall.pl +++ b/xpinstall/packager/windows/makeall.pl @@ -58,7 +58,7 @@ if(!(-e "$inStagePath")) # Make sure inDestPath exists if(!(-e "$inDistPath")) { - system("mkdir /s $inDestPath"); + system("mkdir $inDestPath"); } MakeConfigFile(); @@ -79,7 +79,7 @@ if(-e "$inDistPath\\setup") } else { - system("mkdir /s $inDistPath\\setup"); + system("mkdir $inDistPath\\setup"); } # Copy the setup files to the dist setup directory. diff --git a/xpinstall/packager/windows/makexpi.pl b/xpinstall/packager/windows/makexpi.pl index 56bc2a888f9b..13d0e9e39e64 100644 --- a/xpinstall/packager/windows/makexpi.pl +++ b/xpinstall/packager/windows/makexpi.pl @@ -85,7 +85,7 @@ if(-e "install.js") # make sure inDestPath exists if(!(-e "$inDestPath")) { - system("mkdir /s $inDestPath"); + system("mkdir $inDestPath"); } print "\n Making $inComponentName.xpi...\n";