Commit aa51d7a0 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

bugfix

parent f9483fee
......@@ -246,6 +246,7 @@ for dir in $(find . -maxdepth 3 -type d | sort); do
YEAR=${YNS[1]}
NETWORK=${YNS[2]}
STATION=${YNS[3]}
KEY=${YEAR}_${NETWORK}_${STATION}
# Test if in recovery mode, we should send or not
if [[ -r $RECOVERY_FILE ]]; then
if egrep -q -e ".*$YEAR.*$NETWORK.*$STATION.*( OK | Skipped ).*" $RECOVERY_FILE; then
......@@ -254,7 +255,7 @@ for dir in $(find . -maxdepth 3 -type d | sort); do
continue
fi
fi
KEY=${YEAR}_${NETWORK}_${STATION}
echo "[$KEY] Creating tar on $RESIFDD_WORKDIR/$KEY.tar"
tar cf $RESIFDD_WORKDIR/$KEY.tar $dir
if [[ $? -ne 0 ]]; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment