ffs, more paths

This commit is contained in:
Chris Forbes
2010-10-02 15:35:48 +13:00
parent 4c8fd5e73d
commit 3255f95ee9
2 changed files with 4 additions and 4 deletions

View File

@@ -14,10 +14,10 @@ FTPSERVER=openra.res0l.net
case "$TYPE" in
"release")
FTPPATH="openra.res0l.net/openra.res0l.net/releases"
FTPPATH="openra.res0l.net/releases"
;;
"playtest")
FTPPATH="openra.res0l.net/openra.res0l.net/playtests"
FTPPATH="openra.res0l.net/playtests"
;;
*)
msg "\E[31m" "Unrecognized tag prefix $TYPE"
@@ -118,5 +118,5 @@ esac
wait
if [ "$TYPE" = "release" ]; then
wput --basename=../ -u ../VERSION ftp://$FTPPATH/master/
wput --basename=../ -u ../VERSION ftp://$FTPSERVER/$FTPPATH/master/
fi

View File

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