This commit is contained in:
Louwrentius 2010-03-07 19:48:00 +00:00
parent 831e008e11
commit 0109e1fa3c
3 changed files with 5 additions and 3 deletions

6
ppss
View File

@ -1270,11 +1270,11 @@ upload_item () {
DIR_ESCAPED="$ITEM_ESCAPED"
exec_cmd "mkdir -p $DIR_ESCAPED"
scp -q $SSH_OPTS $SSH_KEY "$OUTPUT_ITEM"/* $USER@$SSH_SERVER:"$DIR_ESCAPED" 2>/dev/null
scp -q $SSH_OPTS $SSH_KEY "$OUTPUT_ITEM"/* $USER@$SSH_SERVER:"$DIR_ESCAPED"
ERROR="$?"
if [ ! "$ERROR" == "0" ]
then
log ERROR "Uploading of $OUTPUT_ITEM_ESCAPED via SCP failed."
log ERROR "Uploading of $OUTPUT_ITEM via SCP failed."
else
log DEBUG "Upload of item $OUTPUT_ITEM success"
rm -rf ./"$OUTPUT_ITEM"
@ -1684,7 +1684,7 @@ commando () {
# If part of a cluster, remove the downloaded item after
# it has been processed and uploaded as not to fill up disk space.
#
if [ "$TRANSFER_TO_SLAVE" == "1" ] && [ "1" == "2" ]
if [ "$TRANSFER_TO_SLAVE" == "1" ]
then
if [ -e "$ITEM" ]
then

View File

@ -5,6 +5,7 @@ VERSION="2.57b1"
TMP_DIR="ppss"
PPSS=./ppss
PPSS_DIR=ppss_dir
export PPSSDEBUG=1
cleanup () {

View File

@ -1,6 +1,7 @@
\'file-!@#$%^&*()_ +=-0987654321~\'
\'file-/\<>?:;'{}[]\'
file-/\/\:\/!@#$%^&*()_+=-0987654321~
file-42>424>424<2424>424?24<24>24
file-/\<>?:;'{}[]
http://www.google.nl
ftp://storage.nl