buildbot-os2: zip to subdir to avoid tarbombing.
This commit is contained in:
parent
e9e0ca81de
commit
d1f8c9df35
|
@ -67,9 +67,10 @@ fi
|
|||
if [ "$OKAY" == "1" ]; then
|
||||
echo 1>&2 "Build succeeded."
|
||||
if [ ! -z "$ZIPFILE" ]; then
|
||||
rm -f "$ZIPFILE"
|
||||
rm -rf "$ZIPFILE" physfs-os2
|
||||
mkdir -p physfs-os2
|
||||
echo "Zipping to '$ZIPFILE' ..."
|
||||
( cp ../src/physfs.h . && zip -9r "$ZIPFILE" physfs.lib physfs.h ) || exit 1
|
||||
( cp ../src/physfs.h physfs.lib physfs-os2 && zip -9r "$ZIPFILE" physfs-os2 ) || exit 1
|
||||
echo "Done."
|
||||
fi
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue