summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorJosh Suereth <joshua.suereth@gmail.com>2012-08-31 15:14:25 -0400
committerJosh Suereth <joshua.suereth@gmail.com>2012-08-31 15:14:25 -0400
commit20583c719fc0ecb50151d6bea0f40905e084b847 (patch)
tree8d90fe9ee7193dace710646cf25483bf702cb57b /project
parenta2b30307a9b29369708839cdc4c28827b798b10a (diff)
downloadscala-20583c719fc0ecb50151d6bea0f40905e084b847.tar.gz
scala-20583c719fc0ecb50151d6bea0f40905e084b847.tar.bz2
scala-20583c719fc0ecb50151d6bea0f40905e084b847.zip
Fix SBT sha resolution for new * in sha files.
Diffstat (limited to 'project')
-rw-r--r--project/ShaResolve.scala1
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")
}