* Scripts/run-safari: Fixed the order of arguments to cp, and added a
chdir call.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27817
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-11-15 Adam Roben <aroben@apple.com>
+
+ Make run-safari actually work on Windows
+
+ * Scripts/run-safari: Fixed the order of arguments to cp, and added a
+ chdir call.
+
2007-11-14 Adam Roben <aroben@apple.com>
Updates to Safari launching now that 3.0.4 is released
2007-11-14 Adam Roben <aroben@apple.com>
Updates to Safari launching now that 3.0.4 is released
$ENV{WEBKIT_UNSET_DYLD_FRAMEWORK_PATH} = "YES";
@args = @ARGV;
} elsif (isCygwin()) {
$ENV{WEBKIT_UNSET_DYLD_FRAMEWORK_PATH} = "YES";
@args = @ARGV;
} elsif (isCygwin()) {
- my $result = system "cp", $productDir, "$FindBin::Bin/run-webkit-nightly.cmd";
+ my $script = "run-webkit-nightly.cmd";
+ my $result = system "cp", "$FindBin::Bin/$script", $productDir;
- chomp(my $path = `cygpath -w '$productDir/run-webkit-nightly.cmd'`);
- @args = ("/c", "call $path");
+ @args = ("/c", "call $script");
}
exec $safariPath, @args or die;
}
exec $safariPath, @args or die;