aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2006-03-23 02:33:29 +0800
committerhq <hq@FreeBSD.org>2006-03-23 02:33:29 +0800
commitb7995badfd3f451ff857950d35f642ff6f2e02a1 (patch)
tree721231011231c594c5d039501106b2179fee2b34
parent5e56c168931b0831e27299fb411e6fd35f268a93 (diff)
downloadfreebsd-ports-gnome-b7995badfd3f451ff857950d35f642ff6f2e02a1.tar.gz
freebsd-ports-gnome-b7995badfd3f451ff857950d35f642ff6f2e02a1.tar.zst
freebsd-ports-gnome-b7995badfd3f451ff857950d35f642ff6f2e02a1.zip
- Use 'exec' in the launcher shell script to comply with Porter's Handbook
guidelines - Reduce line length in launcher shell script
-rw-r--r--java/java-checkstyle/files/checkstyle.sh.in5
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 "$@"