From 1c3856e489f67d1c3b6cf070cf15b3eba65e845a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 3 Dec 2020 10:55:21 -0500 Subject: [PATCH] Find the correct Perl module. Results are inverted on Mac compared to Linux --- entrypoint.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3de8a0a..7daea9c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,7 +20,7 @@ mkdir dist cp -r Koha dist/. cd dist -[ -z "$PLUGIN_MODULE" ] && PLUGIN_MODULE=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*\.pm$' | tail -1 | sed '1q;d') +[ -z "$PLUGIN_MODULE" ] && PLUGIN_MODULE=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*\.pm$' | head -1 | sed '1q;d') echo "PLUGIN MODULE: $PLUGIN_MODULE" PLUGIN_YML=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*/PLUGIN\.yml$' | sed '1q;d') @@ -58,6 +58,3 @@ cd .. rm -rf dist echo ::set-output name=filename::${RELEASE_FILENAME} - -echo "GIT DIFF:" -git diff