fixed undefined $OUTPUTDIR
updated build.open-ra.org
This commit is contained in:
@@ -14,7 +14,6 @@ msg () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TAG=$1
|
TAG=$1
|
||||||
|
|
||||||
VERSION=`echo $TAG | grep -o "[0-9]\\+-\\?[0-9]\\?"`
|
VERSION=`echo $TAG | grep -o "[0-9]\\+-\\?[0-9]\\?"`
|
||||||
|
|
||||||
_gitroot="git://github.com/OpenRA/OpenRA.git"
|
_gitroot="git://github.com/OpenRA/OpenRA.git"
|
||||||
@@ -62,7 +61,7 @@ fi
|
|||||||
./package-all.sh $TAG ~/openra-package/packages/
|
./package-all.sh $TAG ~/openra-package/packages/
|
||||||
|
|
||||||
echo "Downloading source code packages from GitHub..."
|
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
|
if [ $? -ne 0 ]; then
|
||||||
echo "Source code package download failed."
|
echo "Source code package download failed."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user