-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
My default shell is FISH, which is not compatible with BASH.
I get the following output when running
java -jar BuildTools.jar
Unsupported use of '&&'. In fish, please use 'COMMAND; and COMMAND'. applyPatches.sh (line 44): applyPatch Bukkit Spigot-API origin/spigot && applyPatch CraftBukkit Spigot-Server origin/patched ^ <W> fish: Error while reading file applyPatches.sh Error compiling Spigot. Please check the wiki for FAQs. If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support. java.lang.RuntimeException: Error running command, return status !=0: [/usr/local/bin/fish, applyPatches.sh] at org.spigotmc.builder.Builder.runProcess(Builder.java:552) at org.spigotmc.builder.Builder.main(Builder.java:434)
The script has a shebang for /bin/bash, but it is executed by /usr/local/bin/fish because of this line in Builder.java.