package: build multiple simultaneous plugin changes correctly

Something in the build script would eat the remaining stdin for the loop
This commit is contained in:
Max Weber
2020-02-23 01:21:29 -07:00
parent bf5ee78b05
commit e5511b37c8

View File

@@ -44,10 +44,10 @@ fi
PLUGIN_CHANGE=
while read -r FI ; do
if [[ $FI =~ ^plugins/.*$ ]]; then
./build_plugin.sh "$FI"
./build_plugin.sh "$FI" < /dev/null
PLUGIN_CHANGE=true
elif [[ "$FI" == "runelite.version" ]]; then
./rebuild_all.sh
./rebuild_all.sh < /dev/null
fi
done < <(git diff --name-only "$TRAVIS_COMMIT_RANGE")