Skip to content

Commit db316da

Browse files
committed
Dehardcode wrapper script
1 parent da8b0fe commit db316da

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

run

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
#!/bin/sh
2-
java -jar /home/helvete/repositories/java_syntax/checker.jar $@
1+
#!/bin/bash
2+
3+
DIR=$(readlink -f $0)
4+
DIR=${DIR:0:(-3)}
5+
6+
java -jar ${DIR}checker.jar $@

0 commit comments

Comments
 (0)