mirror of https://github.com/CGAL/cgal
Added FTP_OPTS as cygwin and Linux ftp have different options
This commit is contained in:
parent
beb571583e
commit
d305869dc5
|
|
@ -39,6 +39,7 @@ CONSOLE_OUTPUT="y"
|
||||||
CGAL_ROOT=`pwd`
|
CGAL_ROOT=`pwd`
|
||||||
FTP_SERVER="ftp-sop.inria.fr"
|
FTP_SERVER="ftp-sop.inria.fr"
|
||||||
FTP_STORE_DIR="geometrica/Incoming"
|
FTP_STORE_DIR="geometrica/Incoming"
|
||||||
|
FTP_OPTS="-p -v -n"
|
||||||
BUILD_HOSTS="must_be_set_in_.autocgalrc"
|
BUILD_HOSTS="must_be_set_in_.autocgalrc"
|
||||||
MAIL_ADDRESS="must_be_set_in_.autocgalrc"
|
MAIL_ADDRESS="must_be_set_in_.autocgalrc"
|
||||||
MYSHELL="must_be_set_in_.autocgalrc"
|
MYSHELL="must_be_set_in_.autocgalrc"
|
||||||
|
|
@ -115,7 +116,7 @@ put_on_web()
|
||||||
$CURL --upload-file ${1} --user anonymous:${MAIL_ADDRESS} \
|
$CURL --upload-file ${1} --user anonymous:${MAIL_ADDRESS} \
|
||||||
ftp://${FTP_SERVER}/${FTP_STORE_DIR}/${2} >> ${ACTUAL_LOGFILE} 2>&1
|
ftp://${FTP_SERVER}/${FTP_STORE_DIR}/${2} >> ${ACTUAL_LOGFILE} 2>&1
|
||||||
else
|
else
|
||||||
$FTP -p -v -n $FTP_SERVER >> ${ACTUAL_LOGFILE} 2>&1 <<EOF
|
$FTP $FTP_OPTS $FTP_SERVER >> ${ACTUAL_LOGFILE} 2>&1 <<EOF
|
||||||
quote USER anonymous
|
quote USER anonymous
|
||||||
quote PASS ${MAIL_ADDRESS}
|
quote PASS ${MAIL_ADDRESS}
|
||||||
binary
|
binary
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue