buildbot-os2.sh: Zip to a specific filename.
This commit is contained in:
parent
3776e50310
commit
35ab010a7b
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
ZIPFILE="$1"
|
||||||
|
|
||||||
export WATCOM="/usr/local/share/watcom"
|
export WATCOM="/usr/local/share/watcom"
|
||||||
export PATH="$PATH:$WATCOM/binl"
|
export PATH="$PATH:$WATCOM/binl"
|
||||||
|
|
||||||
|
@ -64,8 +66,12 @@ fi
|
||||||
|
|
||||||
if [ "$OKAY" == "1" ]; then
|
if [ "$OKAY" == "1" ]; then
|
||||||
echo 1>&2 "Build succeeded."
|
echo 1>&2 "Build succeeded."
|
||||||
cp ../src/physfs.h .
|
if [ ! -z "$ZIPFILE" ]; then
|
||||||
zip -9r ../physfs-os2.zip physfs.lib physfs.h
|
rm -f "$ZIPFILE"
|
||||||
|
echo "Zipping to '$ZIPFILE' ..."
|
||||||
|
( cp ../src/physfs.h . && zip -9r ../physfs-os2.zip physfs.lib physfs.h ) || exit 1
|
||||||
|
echo "Done."
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo 1>&2 "Build failed."
|
echo 1>&2 "Build failed."
|
||||||
|
|
Loading…
Reference in New Issue