Minor fixes.

This commit is contained in:
Michael Hoffmann 2006-04-24 12:00:36 +00:00
parent 064e4fbb8c
commit 76b1771e70
1 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,6 @@
#sets the umask to 022 & 0777 #sets the umask to 022 & 0777
umask 022 umask 022
WGET="wget" WGET="wget"
CURL="curl" CURL="curl"
CURL_OPTS="--remote-name --silent --location-trusted" CURL_OPTS="--remote-name --silent --location-trusted"
@ -116,7 +115,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 -n $FTP_SERVER <<EOF $FTP -v -n $FTP_SERVER >> ${ACTUAL_LOGFILE} 2>&1 <<EOF
quote USER anonymous quote USER anonymous
quote PASS ${MAIL_ADDRESS} quote PASS ${MAIL_ADDRESS}
binary binary
@ -169,7 +168,7 @@ remote_command()
eval $2 eval $2
else else
printf "** Logging into host ${1} **\n" printf "** Logging into host ${1} **\n"
${RSH} ${1} ${MYSHELL} \"${2}\" ${RSH} ${1} "${MYSHELL} \"${2}\""
fi fi
} }