Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 83108213c9a5
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5508a08210ab
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on May 12, 2016

  1. fix quoted paths

    ahorek committed May 12, 2016
    Copy the full SHA
    0269680 View commit details

Commits on May 13, 2016

  1. Merge pull request #3879 from ahorek/fix_quoted_paths

    fix quoted paths
    enebo committed May 13, 2016
    Copy the full SHA
    5508a08 View commit details
Showing with 3 additions and 0 deletions.
  1. +3 −0 core/src/main/java/org/jruby/util/ShellLauncher.java
3 changes: 3 additions & 0 deletions core/src/main/java/org/jruby/util/ShellLauncher.java
Original file line number Diff line number Diff line change
@@ -389,6 +389,9 @@ private static File isValidFile(Ruby runtime, String fname, boolean isExec) {

private static File findPathFile(Ruby runtime, String fname, String[] path, boolean isExec) {
File pathFile = null;
if (Platform.IS_WINDOWS && fname.startsWith("\"") && fname.endsWith("\"")) {
fname = fname.substring(1, fname.length() - 1); // remove double quotes if present
}
boolean doPathSearch = filenameIsPathSearchable(fname, isExec);
if (doPathSearch) {
for (String fdir: path) {