version 2.97

This commit is contained in:
louwrentius 2011-12-31 00:05:14 +00:00
parent eb61175bf4
commit a33f87d0b0
3 changed files with 12 additions and 5 deletions

11
ppss
View File

@ -1643,8 +1643,15 @@ download_item () {
fi fi
log DEBUG "Exit code of remote download transfer is $?" log DEBUG "Exit code of remote download transfer is $?"
else else
cp "$ITEM" $PPSS_LOCAL_TMPDIR if [[ "$TRAVERSAL" == "1" ]]
log DEBUG "Exit code of local transfer is $?" then
mkdir -p "$PPSS_LOCAL_TMPDIR/$LOCAL_DIR"
cp "$DOWNLOAD_ITEM" "$PPSS_LOCAL_TMPDIR/$LOCAL_DIR"
log DEBUG "Exit code of local transfer is $?"
else
cp "$DOWNLOAD_ITEM" "$PPSS_LOCAL_TMPDIR/"
log DEBUG "Exit code of local transfer is $?"
fi
fi fi
else else
log DEBUG "No transfer of item $ITEM to local workpath." log DEBUG "No transfer of item $ITEM to local workpath."

View File

@ -9,6 +9,6 @@ USER=ppss
SCRIPT=wav2mp3.sh SCRIPT=wav2mp3.sh
RANDOMIZE=1 RANDOMIZE=1
DOWNLOAD_TO_NODE=0 DOWNLOAD_TO_NODE=0
UPLOAD_TO_SERVER=1 UPLOAD_TO_SERVER=0
SECURE_COPY=0 SECURE_COPY=1
PPSS_DEBUG=1 PPSS_DEBUG=1

View File

@ -8,7 +8,7 @@ TYPE=`file -b "$SRC"`
RES=`echo "$TYPE" | grep "WAVE audio"` RES=`echo "$TYPE" | grep "WAVE audio"`
if [ ! "$?" == "0" ] if [ ! "$?" == "0" ]
then then
echo "File $FILE is not a wav file..." echo "File $SRC is not a wav file..."
echo "Type is $TYPE" echo "Type is $TYPE"
exit 0 exit 0
fi fi