Tag prefixes change upload location for packages.

This commit is contained in:
Matthew
2010-09-23 12:03:58 +12:00
parent d87e02ab41
commit 094986d066
2 changed files with 51 additions and 28 deletions

View File

@@ -6,8 +6,9 @@
PLATFORM=$1
VERSION=$2
FILENAME=$3
FTPPATH=$4
FTP="ftp://$4:$5@ftp.open-ra.org/httpdocs/releases/${PLATFORM}/"
FTP="ftp://$5:$6@ftp.open-ra.org/${FTPPATH}/${PLATFORM}/"
if [ ! -e "${FILENAME}" ]; then
echo "File not found: ${FILENAME}"