root / tmp / org.txm.setups / PublishSDKToSourceforge.sh @ 2815
Historique | Voir | Annoter | Télécharger (379 octet)
1 |
VERSION=`cat VERSION` |
---|---|
2 |
SF_USER=mdecorde |
3 |
|
4 |
echo "Send TXM_SDK_${VERSION}.tar.gz" |
5 |
cd ~/SDK/ |
6 |
echo "put TXM_SDK_${VERSION}.tar.gz" > tmp |
7 |
echo "exit" >> tmp |
8 |
sftp -b tmp "${SF_USER},txm@frs.sourceforge.net:/home/frs/project/t/tx/txm/software/TXM SDK/${VERSION}" |
9 |
if [ $? != 0 ]; then |
10 |
echo "** sendSetupsToSF.sh : failed to send SDK: TXM_SDK_${VERSION}.tar.gz" |
11 |
rm tmp |
12 |
exit 1; |
13 |
fi |
14 |
rm tmp |