Skip to content

Commit fee0add

Browse files
committed
builder - don't create binary archives for modules with an install_bin
This avoids creating an sdl1/sdl2 archive with just the .pkg info
1 parent 6177cf6 commit fee0add

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scriptmodules/admin/builder.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ function module_builder() {
5757
# initial clean in case anything was in the build folder when calling
5858
local mode
5959
for mode in clean depends sources build install create_bin clean remove "depends remove"; do
60+
# don't try and create binary archives for modules with an install_bin such as sdl1/sdl2
61+
if [[ "$mode" == "create_bin" ]] && fnExists "install_bin_${id}"; then
62+
continue
63+
fi
6064
# continue to next module if not available or an error occurs
6165
rp_callModule "$id" $mode || break
6266
done

0 commit comments

Comments
 (0)