Commit b77a5db83c7a38e0531e9d4d1ffbea7c86d525e9
1 parent
0c8a5eb699
Exists in
DSpace52++
comparison between exported items
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
dspace/bin/RCAAP-packager-export_verify-items.sh
... | ... | @@ -89,7 +89,7 @@ ${SCRIPTPATH}/dspace packager -d -a -u -t AIP -e ${EMAIL} -i ${HANDLE_PREFIX}/0 |
89 | 89 | #find on the backup directory and count the number of just created files |
90 | 90 | NUMBER_BACKUPS=(`find $BACKUP_DIR -mtime 0 ! -size 0 -type f -name "ITEM*.zip" | wc -l`) |
91 | 91 | |
92 | -if [ "$NUMBER_BACKUPS" = "$NUMBER_ITEMS" ]; then | |
92 | +if [ "$NUMBER_BACKUPS" -ge "$NUMBER_ITEMS" ]; then | |
93 | 93 | echo "1" > ${RESULT_FILE_NAME} |
94 | 94 | else |
95 | 95 | echo "0" > ${RESULT_FILE_NAME} | ... | ... |