Skip to content

Commit

Permalink
fix extra dot in workspace creation
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallah-abdelnaby committed Aug 20, 2024
1 parent 6bd6548 commit 81809e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion goobi_operandi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ create_workspace_without_mets() {
$DOCKER_RAPPER ocrd workspace -d "/data/$PROCESS_TITLE" init
$DOCKER_RAPPER ocrd workspace -d "/data/$PROCESS_TITLE" set-id 'unique ID'
for path in images/*.$EXT; do
base=`basename $path $EXT`;
base=`basename $path .$EXT`;
$DOCKER_RAPPER ocrd workspace -d "/data/$PROCESS_TITLE" add -G $FILE_GROUP -i ${FILE_GROUP}_${base} -g P_$base -m $MEDIATYPE $path
done

Expand Down
2 changes: 1 addition & 1 deletion kitodo_operandi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ create_workspace_without_mets() {
$DOCKER_RAPPER ocrd workspace -d "/data/$(basename "$WORKSPACE_DIR")" init
$DOCKER_RAPPER ocrd workspace -d "/data/$(basename "$WORKSPACE_DIR")" set-id 'unique ID'
for path in images/*.$EXT; do
base=`basename $path $EXT`;
base=`basename $path .$EXT`;
$DOCKER_RAPPER ocrd workspace -d "/data/$(basename "$WORKSPACE_DIR")" add -G $FILE_GROUP -i ${FILE_GROUP}_${base} -g P_$base -m $MEDIATYPE $path
done

Expand Down
2 changes: 1 addition & 1 deletion script_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ create_workspace_without_mets() {
$DOCKER_RAPPER ocrd workspace -d "/data/$PROCESS_TITLE" init
$DOCKER_RAPPER ocrd workspace -d "/data/$PROCESS_TITLE" set-id 'unique ID'
for path in images/*.$EXT; do
base=`basename $path $EXT`;
base=`basename $path .$EXT`;
$DOCKER_RAPPER ocrd workspace -d "/data/$PROCESS_TITLE" add -G $FILE_GROUP -i ${FILE_GROUP}_${base} -g P_$base -m $MEDIATYPE $path
done

Expand Down
2 changes: 1 addition & 1 deletion script_native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ create_workspace_without_mets() {
cd $WORKSPACE_DIR

for path in images/*.$EXT; do
base=`basename $path $EXT`;
base=`basename $path .$EXT`;
ocrd workspace add -G $FILE_GROUP -i ${FILE_GROUP}_${base} -g P_$base -m $MEDIATYPE $path
done
cd ->/dev/null
Expand Down

0 comments on commit 81809e3

Please sign in to comment.