Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added support for cygwin/Windows path separators

  • Loading branch information...
commit e9d162d995afa3fced636c41cdca841dcad383c1 1 parent 0d9bb18
Wolfgang Schell authored April 25, 2012

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  youdebug-cli/youdebug
6  youdebug-cli/youdebug
@@ -5,11 +5,15 @@ BASEDIR=`dirname $0`
5 5
 LIBDIRS="$BASEDIR/lib"
6 6
 CLASSPATH=
7 7
 MAIN="org.kohsuke.youdebug.YouDebug"
  8
+OS=`uname -o >/dev/null 2>&1`
8 9
 
9 10
 for dir in $LIBDIRS; do
10 11
 	for jar in $dir/*.jar; do
11 12
 		if [ -n "$CLASSPATH" ]; then
12  
-			CLASSPATH="$CLASSPATH:$jar"
  13
+			case "$OS" in
  14
+			[Cc]ygwin)	CLASSPATH="$CLASSPATH;$jar";;
  15
+			*)			CLASSPATH="$CLASSPATH:$jar";;
  16
+			esac
13 17
 		else
14 18
 			 CLASSPATH="$jar"
15 19
 		fi

0 notes on commit e9d162d

Please sign in to comment.
Something went wrong with that request. Please try again.