| 1 | | The recent Java 9 change (SVN r12713) to the josm launchers introduced a bashism, the test only works when bash is configured as `/bin/sh`. |
| | 1 | The recent Java 9 change (SVN r12713) to the josm launchers introduced a [https://wiki.ubuntu.com/DashAsBinSh bashism], the test only works when bash is configured as `/bin/sh`: |
| | 2 | {{{ |
| | 3 | $ checkbashisms linux/*/usr/bin/josm* |
| | 4 | possible bashism in linux/latest/usr/bin/josm-latest line 49 (alternative test command ([[ foo ]] should be [ foo ])): |
| | 5 | if [[ $JAVACMD == *"java-9"* ]]; then |
| | 6 | possible bashism in linux/latest/usr/bin/josm-latest line 49 (should be 'b = a'): |
| | 7 | if [[ $JAVACMD == *"java-9"* ]]; then |
| | 8 | possible bashism in linux/tested/usr/bin/josm line 49 (alternative test command ([[ foo ]] should be [ foo ])): |
| | 9 | if [[ $JAVACMD == *"java-9"* ]]; then |
| | 10 | possible bashism in linux/tested/usr/bin/josm line 49 (should be 'b = a'): |
| | 11 | if [[ $JAVACMD == *"java-9"* ]]; then |
| | 12 | }}} |