mirror of
https://github.com/sbt/sbt.git
synced 2026-09-08 19:16:16 +02:00
The script simply prints out each argument in an unambigous form on a single line and handles to the `--version` option. For windows, add `java.cmd` script which simply calls the former `java` script.
10 lines
195 B
Python
Executable File
10 lines
195 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import sys
|
|
|
|
if '--version' in sys.argv or '-version' in sys.argv:
|
|
print 'openjdk version "1.8.0_212"'
|
|
else:
|
|
for arg in sys.argv[1:]:
|
|
print(repr(arg)[1:-1])
|