diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-02-05 16:35:57 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-02-05 16:37:30 +0100 |
commit | 671f463c30cfa12e6a9498efdf857c5adddd2465 (patch) | |
tree | 8e9a14db7d1d5456961f92e56bcca00d80549f7e /tools | |
parent | 3b69e08867428171abf9ead416fe32b7bc77f603 (diff) | |
download | scala-671f463c30cfa12e6a9498efdf857c5adddd2465.tar.gz scala-671f463c30cfa12e6a9498efdf857c5adddd2465.tar.bz2 scala-671f463c30cfa12e6a9498efdf857c5adddd2465.zip |
Fixes curlUpload for Cygwin
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/binary-repo-lib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binary-repo-lib.sh b/tools/binary-repo-lib.sh index 3a75593f21..f5d6043e37 100755 --- a/tools/binary-repo-lib.sh +++ b/tools/binary-repo-lib.sh @@ -7,6 +7,7 @@ remote_urlbase="http://typesafe.artifactoryonline.com/typesafe/scala-sha-bootstr libraryJar="$(pwd)/lib/scala-library.jar" desired_ext=".desired.sha1" push_jar="$(pwd)/tools/push.jar" +if [[ "$OSTYPE" == *Cygwin* || "$OSTYPE" == *cygwin* ]]; then push_jar="$(cygpath -m "$push_jar")"; fi # Cache dir has .sbt in it to line up with SBT build. cache_dir="${HOME}/.sbt/cache/scala" |