package: build correctly when removing plugins

This commit is contained in:
Max Weber committed 2020-03-01 19:34:34 -07:00
1 parent 92e2914308
commit eb4dcb8e63
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@ fi
PLUGIN_CHANGE=
while read -r FI ; do
if [[ $FI =~ ^plugins/.*$ ]]; then
./build_plugin.sh "$FI" < /dev/null
[ -e "$FI" ] && ./build_plugin.sh "$FI" < /dev/null
PLUGIN_CHANGE=true
elif [[ "$FI" == "runelite.version" ]]; then
./rebuild_all.sh < /dev/null