mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
Resume --resume or -R can now be used with bte import
This commit is contained in:

committed by
Kostas Stamatis

parent
bf3915880d
commit
c5747c4127
@@ -373,10 +373,10 @@ public class ItemImport
|
|||||||
}
|
}
|
||||||
|
|
||||||
// can only resume for adds
|
// can only resume for adds
|
||||||
if (isResume && !"add".equals(command))
|
if (isResume && !"add".equals(command) && !"add-bte".equals(command))
|
||||||
{
|
{
|
||||||
System.out
|
System.out
|
||||||
.println("Error - resume option only works with --add command");
|
.println("Error - resume option only works with the --add or the --add-bte commands");
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user