Check for multiline shebang script hacks

Fixes #8
This commit is contained in:
Joshua Peek
2011-06-27 17:35:48 -05:00
parent 19720117a1
commit ebba204ba3
4 changed files with 31 additions and 1 deletions

9
test/fixtures/script.scala vendored Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
exec scala "$0" "$@"
!#
object HelloWorld {
def main(args: Array[String]) {
println("Hello, world!")
}
}