version 2.97
This commit is contained in:
parent
eb61175bf4
commit
a33f87d0b0
9
ppss
9
ppss
@ -1643,8 +1643,15 @@ download_item () {
|
||||
fi
|
||||
log DEBUG "Exit code of remote download transfer is $?"
|
||||
else
|
||||
cp "$ITEM" $PPSS_LOCAL_TMPDIR
|
||||
if [[ "$TRAVERSAL" == "1" ]]
|
||||
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
|
||||
else
|
||||
log DEBUG "No transfer of item $ITEM to local workpath."
|
||||
|
@ -9,6 +9,6 @@ USER=ppss
|
||||
SCRIPT=wav2mp3.sh
|
||||
RANDOMIZE=1
|
||||
DOWNLOAD_TO_NODE=0
|
||||
UPLOAD_TO_SERVER=1
|
||||
SECURE_COPY=0
|
||||
UPLOAD_TO_SERVER=0
|
||||
SECURE_COPY=1
|
||||
PPSS_DEBUG=1
|
||||
|
@ -8,7 +8,7 @@ TYPE=`file -b "$SRC"`
|
||||
RES=`echo "$TYPE" | grep "WAVE audio"`
|
||||
if [ ! "$?" == "0" ]
|
||||
then
|
||||
echo "File $FILE is not a wav file..."
|
||||
echo "File $SRC is not a wav file..."
|
||||
echo "Type is $TYPE"
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user