diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2006-03-22 18:33:29 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2006-03-22 18:33:29 +0000 |
commit | 769c16d25dc21dfb19c6a39a4e46bf7429c1fd60 (patch) | |
tree | b385652707681e88f8df427d76b652366820c4ed /java | |
parent | 89a21c54ae342beb5d96ec06d11b1ebbeb279cdd (diff) | |
download | ports-769c16d25dc21dfb19c6a39a4e46bf7429c1fd60.tar.gz ports-769c16d25dc21dfb19c6a39a4e46bf7429c1fd60.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/java-checkstyle/files/checkstyle.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/java-checkstyle/files/checkstyle.sh.in b/java/java-checkstyle/files/checkstyle.sh.in index d78dce28be03..86997fdc629b 100644 --- a/java/java-checkstyle/files/checkstyle.sh.in +++ b/java/java-checkstyle/files/checkstyle.sh.in @@ -2,4 +2,7 @@ # # $FreeBSD$ -JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/checkstyle.jar:%%JAVAJARDIR%%/checkstyle-optional.jar" com.puppycrawl.tools.checkstyle.Main "$@" +JAVA_VERSION="%%JAVA_VERSION%%" \ + exec "%%LOCALBASE%%/bin/java" \ + -cp "%%JAVAJARDIR%%/checkstyle.jar:%%JAVAJARDIR%%/checkstyle-optional.jar" \ + com.puppycrawl.tools.checkstyle.Main "$@" |