diff options
author | Josh Suereth <joshua.suereth@gmail.com> | 2012-08-31 15:14:25 -0400 |
---|---|---|
committer | Josh Suereth <joshua.suereth@gmail.com> | 2012-08-31 15:14:25 -0400 |
commit | 20583c719fc0ecb50151d6bea0f40905e084b847 (patch) | |
tree | 8d90fe9ee7193dace710646cf25483bf702cb57b | |
parent | a2b30307a9b29369708839cdc4c28827b798b10a (diff) | |
download | scala-20583c719fc0ecb50151d6bea0f40905e084b847.tar.gz scala-20583c719fc0ecb50151d6bea0f40905e084b847.tar.bz2 scala-20583c719fc0ecb50151d6bea0f40905e084b847.zip |
Fix SBT sha resolution for new * in sha files.
-rw-r--r-- | project/ShaResolve.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/project/ShaResolve.scala b/project/ShaResolve.scala index cea2b2d6cc..e5b25a29cf 100644 --- a/project/ShaResolve.scala +++ b/project/ShaResolve.scala @@ -105,6 +105,7 @@ object ShaResolve { def parseShaFile(file: File): (File, String) = IO.read(file).split("\\s") match { case Array(sha, filename) if filename.startsWith("?") => (new File(file.getParentFile, filename.drop(1)), sha) + case Array(sha, filename) if filename.startsWith("*") => (new File(file.getParentFile, filename.drop(1)), sha) case Array(sha, filename) => (new File(file.getParentFile, filename), sha) case _ => error(file.getAbsolutePath + " is an invalid sha file") } |