Ignore:
Timestamp:
Nov 4, 2005, 11:51:13 PM (15 years ago)
Author:
bcornec
Message:

Patch from Sébastien Aperghis-Tramoni <maddingue_AT_free.fr> to suppress some warnings issued by mindi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.04_berlios/tools/mkdeliv

    r92 r97  
    4646scp ${rpms} ${SVNAUTH}:${DSTDIR}/${ddir}/${dver}
    4747scp ${srpms} ${SVNAUTH}:${DSTDIR}/${ddir}/${dver}
    48 echo "Sources delivery to ${FTPURL}"
    49 ncftpput ${FTPURL} ${tgz}
     48echo "Sources delivery to ${FTPSERV} ${FTPDIR}"
     49if [ "`which ncftpput`" != "" ]; then
     50    ncftpput ${FTPSERV} ${FTPDIR} ${tgz}
     51elif [ "`which lftp`" != "" ]; then
     52    lftp -e "cd ${FTPDIR} ; put ${tgz} ; quit" ${FTPSERV}
     53fi
Note: See TracChangeset for help on using the changeset viewer.