Commit 3fcd4743 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Bugfix

parent fae5167a
......@@ -166,7 +166,7 @@ for dir in $(find . -maxdepth 3 -type d | sort); do
SIZE=$(stat -c %s $RESIFDD_WORKDIR/$KEY.tar)
SIZEGB=$(( $(stat -c %s $RESIFDD_WORKDIR/$KEY.tar) / 1024 / 1024 / 1024 ))
# Check if file exists on irods server
ils -L $KEY/latest.tar 2>&1/dev/null
ils -L $KEY/latest.tar > /dev/null 2>&1
if [[ $? -eq 0 ]]; then
# Latest archive exist, lets move it to previous.
echo "[$KEY] latest.tar already exists on iRODS server. Let's compare hashes"
......
Markdown is supported
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