Skip to content

Commit

Permalink
Prevents "cygpath: can't convert empty path" on cygwin when no other …
Browse files Browse the repository at this point in the history
…jars besides jruby.jar are present in $JRUBY_HOME/lib (as is the case with a fresh install).

Signed-off-by: Hiro Asari <[email protected]>
  • Loading branch information
sendels authored and BanzaiMan committed Mar 24, 2012
1 parent bec227e commit e35a5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/jruby.bash
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ else
fi
done

if $cygwin; then
if [ "$CP" != "" ] && $cygwin; then
CP=`cygpath -p -w "$CP"`
fi
fi
Expand Down

0 comments on commit e35a5cf

Please sign in to comment.