Skip to content

Commit

Permalink
Fixed a bug in the module script.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRoeder committed Aug 15, 2023
1 parent c4bd58e commit 8cef65f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM maven:3.9-eclipse-temurin-17-alpine
WORKDIR /app

# Add enexa-utils
COPY --from=enexa-utils:1 / /.
COPY --from=hub.cs.upb.de/enexa/images/enexa-utils:1 / /.

# Add Maven dependencies (not shaded into the artifact; Docker-cached)
COPY target/lib /app/lib
Expand Down
4 changes: 1 addition & 3 deletions module
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eu

# If this is a test run
if [ "$TEST_RUN" = true ]
if [ "${TEST_RUN:-false}" = true ]
then
# things which ENEXA is supposed to do
mkdir -p $ENEXA_MODULE_INSTANCE_DIRECTORY
Expand All @@ -16,8 +16,6 @@ then
<http://example.org/file/data2.ttl> <http://www.w3.org/ns/dcat#mediaType> <https://www.iana.org/assignments/media-types/text/turtle> .
}}" \
| sparql-update "$ENEXA_META_DATA_ENDPOINT"
# move two files that we can concatenate

fi

# Start module execution
Expand Down

0 comments on commit 8cef65f

Please sign in to comment.