Don't pass ftp user/pass on the commandline. openra user on the build machine has a .netrc setup with the correct credentials.

This commit is contained in:
Paul Chote
2011-02-08 15:54:59 +13:00
parent 5f8e2ccf5c
commit 627d275e84
3 changed files with 10 additions and 10 deletions

View File

@@ -1,9 +1,9 @@
#!/bin/bash
ARGS=3
ARGS=1
E_BADARGS=85
if [ $# -ne "$ARGS" ]; then
echo "Usage: `basename $0` tag username password"
echo "Usage: `basename $0` tag"
exit $E_BADARGS
fi
@@ -61,7 +61,7 @@ fi
./package-all.sh $TAG ~/openra-package/packages/
./upload-all.sh $TAG ~/openra-package/packages $2 $3
./upload-all.sh $TAG ~/openra-package/packages
popd &> /dev/null # packaging
popd &> /dev/null # $_gitname-build