summaryrefslogtreecommitdiff
path: root/tools/binary-repo-lib.sh
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-02-05 16:35:57 +0100
committerEugene Burmako <xeno.by@gmail.com>2012-02-05 16:37:30 +0100
commit671f463c30cfa12e6a9498efdf857c5adddd2465 (patch)
tree8e9a14db7d1d5456961f92e56bcca00d80549f7e /tools/binary-repo-lib.sh
parent3b69e08867428171abf9ead416fe32b7bc77f603 (diff)
downloadscala-671f463c30cfa12e6a9498efdf857c5adddd2465.tar.gz
scala-671f463c30cfa12e6a9498efdf857c5adddd2465.tar.bz2
scala-671f463c30cfa12e6a9498efdf857c5adddd2465.zip
Fixes curlUpload for Cygwin
Diffstat (limited to 'tools/binary-repo-lib.sh')
-rwxr-xr-xtools/binary-repo-lib.sh1
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"