don't dump into package.log

This commit is contained in:
Matthias Mailänder
2014-06-05 10:19:16 +02:00
parent 366b49f050
commit 4c38a881b4
2 changed files with 12 additions and 12 deletions

View File

@@ -41,27 +41,27 @@ cd packaging/linux
(
echo "Building Debian package."
cd deb
./buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR" &> package.log
./buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
if [ $? -ne 0 ]; then
echo "Debian package build failed, refer to $PWD/package.log."
echo "Debian package build failed."
fi
) &
(
echo "Building Arch-Linux package."
cd pkgbuild
sh buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR" &> package.log
sh buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
if [ $? -ne 0 ]; then
echo "Arch-Linux package build failed, refer to $PWD/package.log."
echo "Arch-Linux package build failed."
fi
) &
(
echo "Building RPM package."
cd rpm
sh buildpackage.sh "$TAG" ../$ROOTDIR ~/rpmbuild "$PACKAGEDIR" &> package.log
sh buildpackage.sh "$TAG" ../$ROOTDIR ~/rpmbuild "$PACKAGEDIR"
if [ $? -ne 0 ]; then
echo "RPM package build failed, refer to $PWD/package.log."
echo "RPM package build failed."
fi
) &

View File

@@ -83,27 +83,27 @@ echo "Creating packages..."
(
cd windows
makensis -DSRCDIR="$BUILTDIR" -DDEPSDIR="${SRCDIR}/thirdparty/windows" OpenRA.nsi &> package.log
makensis -DSRCDIR="$BUILTDIR" -DDEPSDIR="${SRCDIR}/thirdparty/windows" OpenRA.nsi
if [ $? -eq 0 ]; then
mv OpenRA.exe "$OUTPUTDIR"/OpenRA-$TAG.exe
else
echo "Windows package build failed, refer to windows/package.log."
echo "Windows package build failed."
fi
) &
(
cd osx
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/osx" "$OUTPUTDIR" &> package.log
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/osx" "$OUTPUTDIR"
if [ $? -ne 0 ]; then
echo "OS X package build failed, refer to osx/package.log."
echo "OS X package build failed."
fi
) &
(
cd linux
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/linux" "$OUTPUTDIR" &> package.log
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/linux" "$OUTPUTDIR"
if [ $? -ne 0 ]; then
echo "Linux package build failed, refer to linux/package.log."
echo "Linux package build failed."
fi
) &