Skip to content
Permalink
4.17.5
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@mchyzer
Latest commit 0278f6d Oct 20, 2020 History
2 contributors

Users who have contributed to this file

@mchyzer @chubing
executable file 37 lines (28 sloc) 826 Bytes
#!/bin/bash
. /usr/local/bin/library.sh
prep_conf
if [ "$#" -eq 0 ];
then
echo "grouperContainer; INFO: (entrypoint.sh) No component set to run"
prep_finish
setupFiles
runCommand
else
# echo "$@"
# argc=$#
# argv=("$@")
GROUPER_ENTRYPOINT_COMMAND=$1
shift
# for (( j=1; j<argc; j++ )); do
# if [ -n "$ARGUMENTS" ]; then
# ARGUMENTS="$ARGUMENTS "
# fi
# ARGUMENTS="$ARGUMENTS${argv[j]}"
# done
if [ "$GROUPER_ENTRYPOINT_COMMAND" = "/opt/grouper/grouperWebapp/WEB-INF/bin/gsh.sh" ]
then
GROUPER_ENTRYPOINT_COMMAND=gsh
fi
echo "grouperContainer; INFO: (entrypoint.sh) Executing $GROUPER_ENTRYPOINT_COMMAND $@"
exec "$GROUPER_ENTRYPOINT_COMMAND" "$@"
fi