java extension

This commit is contained in:
Thomas Hobson 2021-04-24 20:09:39 +12:00
parent af91e66d64
commit d2c36d8a54
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Put instructions to run the runtime # Put instructions to run the runtime
java "$@" mv $1 $1.java
filename=$1.java
shift
java $filename "$@"