Skip to content

Commit

Permalink
GRP-2823: grouper installer is broken, will not install container
Browse files Browse the repository at this point in the history
  • Loading branch information
mchyzer committed Jul 19, 2020
1 parent 3c4eff4 commit c823508
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions container_files/usr-local-bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ if [ "$#" -eq 0 ];
setupFiles
runCommand
else
echo executing $@
exec "$@"

if [ "$@" = "/opt/grouper/grouperWebapp/WEB-INF/bin/gsh.sh" ]
then
GROUPER_ENTRYPOINT_COMMAND=gsh
else
GROUPER_ENTRYPOINT_COMMAND="$@"
fi

echo executing GROUPER_ENTRYPOINT_COMMAND
exec "$GROUPER_ENTRYPOINT_COMMAND"
fi

0 comments on commit c823508

Please sign in to comment.