Fixing another stupid typo

This commit is contained in:
Maschell 2017-05-13 15:29:03 +02:00
parent 736e8f2c6c
commit 16d8f25a1f

View File

@ -4,8 +4,10 @@
cd $TRAVIS_BUILD_DIR/wiiu/apps/hidtovpad cd $TRAVIS_BUILD_DIR/wiiu/apps/hidtovpad
for entry in "$TRAVIS_BUILD_DIR/wiiu/apps/hidtovpad"/*; do for entry in "$TRAVIS_BUILD_DIR/wiiu/apps/hidtovpad"/*; do
if [ "$entry" != "languages" ] then
echo "Uploading ${entry##*/}" echo "Uploading ${entry##*/}"
curl --ftp-create-dirs -T "${entry##*/}" -u $FTP_USER:$FTP_PASSWORD "$FTP_SERVER/${entry##*/}" > /dev/null 2>&1 curl --ftp-create-dirs -T "${entry##*/}" -u $FTP_USER:$FTP_PASSWORD "$FTP_SERVER/${entry##*/}" > /dev/null 2>&1
fi
done done
@ -29,7 +31,7 @@ done
# Language files # Language files
for f in `curl -u $FTP_USER:$FTP_PASSWORD $FTP_SERVER/sd/wiiu/controller/ --silent --use-ascii --list-only`; do for f in `curl -u $FTP_USER:$FTP_PASSWORD $FTP_SERVER/sd/wiiu/apps/hidtovpad/languages/ --silent --use-ascii --list-only`; do
if [ "$f" != "." ] && [ "$f" != ".." ]; then if [ "$f" != "." ] && [ "$f" != ".." ]; then
echo "Deleting sd/wiiu/apps/hidtovpad/languages/${f##*/}" echo "Deleting sd/wiiu/apps/hidtovpad/languages/${f##*/}"
curl -v -u $FTP_USER:$FTP_PASSWORD ftp://$FTP_SERVER/ -Q "DELE sd/wiiu/apps/hidtovpad/languages/$f" --silent > /dev/null 2>&1 curl -v -u $FTP_USER:$FTP_PASSWORD ftp://$FTP_SERVER/ -Q "DELE sd/wiiu/apps/hidtovpad/languages/$f" --silent > /dev/null 2>&1