Skip to content

Commit

Permalink
fixed spooker
Browse files Browse the repository at this point in the history
  • Loading branch information
samarth8392 committed Jul 21, 2023
1 parent 1e98c96 commit 477213e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions resources/spooker
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ if [[ "$SPOOK" == "" ]];then
fi
SPOOK_COPY2DIR="/scratch/ccbrpipeliner"

if [[ ! -d $SPOOK_COPY2DIR ]];then
mkdir -p $SPOOK_COPY2DIR && chmod a+rwX $SPOOK_COPY2DIR
fi

DT=$(date +%Y%m%d)
archivefile="${HOME}/${USER}.${DT}.tar"
treefile="${HOME}/${USER}.${DT}.tree"
Expand Down Expand Up @@ -72,6 +68,6 @@ if [[ -d "$PIPELINE_OUTDIR" ]];then
cmd="$SPOOK -f ${archivefile}.gz -d $SPOOK_COPY2DIR"
echo $cmd
$cmd
rm -f $archivefile $treefile
rm -f ${archivefile}.gz $treefile
fi
fi

0 comments on commit 477213e

Please sign in to comment.