diff options
Diffstat (limited to 'deployment/zip/src/main')
-rwxr-xr-x | deployment/zip/src/main/release/bin/oclip.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/deployment/zip/src/main/release/bin/oclip.sh b/deployment/zip/src/main/release/bin/oclip.sh index a3d51940..90fcfc53 100755 --- a/deployment/zip/src/main/release/bin/oclip.sh +++ b/deployment/zip/src/main/release/bin/oclip.sh @@ -22,10 +22,17 @@ then exit 1 fi -CLASSPATH=$OPEN_CLI_HOME:$OPEN_CLI_HOME/conf:$OPEN_CLI_HOME/docs +if [ "$OSTYPE" = "msys" ] +then + SEP=\; +else + SEP=: +fi + +CLASSPATH=${OPEN_CLI_HOME}${SEP}${OPEN_CLI_HOME}/conf${SEP}${OPEN_CLI_HOME}/docs for entry in "$OPEN_CLI_HOME/lib"/* do - CLASSPATH=$CLASSPATH:$entry + CLASSPATH=${CLASSPATH}${SEP}${entry} done if [ "$OPEN_CLI_DEBUG" = "true" ] |