diff options
author | danfe <danfe@FreeBSD.org> | 2016-10-17 12:00:20 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2016-10-17 12:00:20 +0800 |
commit | 273bab661418b8673817530d5dcf979f83581058 (patch) | |
tree | 473bf3e9dcb8e4384639fc0f62e42d482a77f975 /java | |
parent | 1f1416a59e360fa4cc3e78ba33310f2ffcd0ff34 (diff) | |
download | freebsd-ports-graphics-273bab661418b8673817530d5dcf979f83581058.tar.gz freebsd-ports-graphics-273bab661418b8673817530d5dcf979f83581058.tar.zst freebsd-ports-graphics-273bab661418b8673817530d5dcf979f83581058.zip |
- Double-quote $@ to properly propagate parameters down the execution path
- Consistently pad (separate) shebang in wrapper scripts with an empty line
Diffstat (limited to 'java')
-rw-r--r-- | java/eclipse/files/eclipse.in | 2 | ||||
-rw-r--r-- | java/intellij-pycharm/files/pycharm.in | 3 | ||||
-rw-r--r-- | java/intellij-ultimate/files/idea.in | 3 | ||||
-rw-r--r-- | java/intellij/files/idea.in | 3 | ||||
-rw-r--r-- | java/jd-gui/files/jd-gui.in | 3 |
5 files changed, 9 insertions, 5 deletions
diff --git a/java/eclipse/files/eclipse.in b/java/eclipse/files/eclipse.in index f3c54f4c6d7..10505f2270e 100644 --- a/java/eclipse/files/eclipse.in +++ b/java/eclipse/files/eclipse.in @@ -43,4 +43,4 @@ if [ ! -x "${ECLIPSE_HOME}/eclipse" ]; then exit 1 fi -JAVA_VERSION="%%JAVA_VERSION%%" JAVA_OS="%%JAVA_OS%%" PATH=${JAVA_HOME}/bin:${PATH} %%SWTGTK3OPT%% exec "${ECLIPSE_HOME}/eclipse" $@ +JAVA_VERSION="%%JAVA_VERSION%%" JAVA_OS="%%JAVA_OS%%" PATH=${JAVA_HOME}/bin:${PATH} %%SWTGTK3OPT%% exec "${ECLIPSE_HOME}/eclipse" "$@" diff --git a/java/intellij-pycharm/files/pycharm.in b/java/intellij-pycharm/files/pycharm.in index 1a490905044..d0f462e8803 100644 --- a/java/intellij-pycharm/files/pycharm.in +++ b/java/intellij-pycharm/files/pycharm.in @@ -1,2 +1,3 @@ #!/bin/sh -exec "%%DATADIR%%/bin/pycharm.sh" $@ + +exec "%%DATADIR%%/bin/pycharm.sh" "$@" diff --git a/java/intellij-ultimate/files/idea.in b/java/intellij-ultimate/files/idea.in index b4ba5da0e1a..0b0ad81de31 100644 --- a/java/intellij-ultimate/files/idea.in +++ b/java/intellij-ultimate/files/idea.in @@ -1,2 +1,3 @@ #!/bin/sh -exec "%%IDEA_HOME%%/bin/idea.sh" $@ + +exec "%%IDEA_HOME%%/bin/idea.sh" "$@" diff --git a/java/intellij/files/idea.in b/java/intellij/files/idea.in index b4ba5da0e1a..0b0ad81de31 100644 --- a/java/intellij/files/idea.in +++ b/java/intellij/files/idea.in @@ -1,2 +1,3 @@ #!/bin/sh -exec "%%IDEA_HOME%%/bin/idea.sh" $@ + +exec "%%IDEA_HOME%%/bin/idea.sh" "$@" diff --git a/java/jd-gui/files/jd-gui.in b/java/jd-gui/files/jd-gui.in index f1e2d1bd428..981ed420de5 100644 --- a/java/jd-gui/files/jd-gui.in +++ b/java/jd-gui/files/jd-gui.in @@ -1,2 +1,3 @@ #!/bin/sh -exec java -jar "%%JAVAJARDIR%%/jd-gui.jar" $@ + +exec java -jar "%%JAVAJARDIR%%/jd-gui.jar" "$@" |