tests: allow the binary prep steps in the linux release script to be skipped (#1772)

This commit is contained in:
Tyler Wilding
2022-08-19 21:50:36 -04:00
committed by GitHub
parent b3c58d2247
commit e71adf6e3d
@@ -8,17 +8,21 @@ SOURCE=${3}
mkdir -p $DEST
cp $BIN_SOURCE/game/gk $DEST
cp $BIN_SOURCE/goalc/goalc $DEST
cp $BIN_SOURCE/decompiler/extractor $DEST
PREP_BIN="${PREP_BIN:-true}"
strip $DEST/gk
strip $DEST/goalc
strip $DEST/extractor
if [ "$PREP_BIN" = "true" ]; then
cp $BIN_SOURCE/game/gk $DEST
cp $BIN_SOURCE/goalc/goalc $DEST
cp $BIN_SOURCE/decompiler/extractor $DEST
chmod +x $DEST/gk
chmod +x $DEST/goalc
chmod +x $DEST/extractor
strip $DEST/gk
strip $DEST/goalc
strip $DEST/extractor
chmod +x $DEST/gk
chmod +x $DEST/goalc
chmod +x $DEST/extractor
fi
mkdir -p $DEST/data
mkdir -p $DEST/data/launcher/