fixed undefined $OUTPUTDIR

updated build.open-ra.org
This commit is contained in:
Matthias Mailänder
2013-11-02 14:00:43 +01:00
parent 3ba6db999d
commit 0e239f892d

View File

@@ -14,7 +14,6 @@ msg () {
}
TAG=$1
VERSION=`echo $TAG | grep -o "[0-9]\\+-\\?[0-9]\\?"`
_gitroot="git://github.com/OpenRA/OpenRA.git"
@@ -62,7 +61,7 @@ fi
./package-all.sh $TAG ~/openra-package/packages/
echo "Downloading source code packages from GitHub..."
curl -s -L -o "$OUTPUTDIR/$TAG.tar.gz" "https://github.com/OpenRA/OpenRA/archive/$TAG.tar.gz"
curl -s -L -o "$HOME/openra-package/packages/$TAG.tar.gz" "https://github.com/OpenRA/OpenRA/archive/$TAG.tar.gz"
if [ $? -ne 0 ]; then
echo "Source code package download failed."
fi