Skip to content

Commit

Permalink
fix container
Browse files Browse the repository at this point in the history
  • Loading branch information
mchyzer committed Jan 28, 2021
1 parent 9b56c85 commit 732a0e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container_files/usr-local-bin/libraryPrepOnly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ prepOnly_ui() {
prepOnly_ws() {
if [ "$GROUPER_WS_ONLY" = "true" ]
then
if [ -z "$GROUPER_LOG_PREFIX" ]; then export
if [ -z "$GROUPER_LOG_PREFIX" ]; then
echo "grouperContainer; INFO: (libraryPrep.sh-prepOnly_ui) export GROUPER_LOG_PREFIX=grouper-ws"
GROUPER_LOG_PREFIX=grouper-ws
export GROUPER_LOG_PREFIX=grouper-ws
fi
if [ -z "$GROUPER_CONTEXT_COOKIES" ]; then
echo "grouperContainer; INFO: (libraryPrep.sh-prepOnly_ui) export GROUPER_CONTEXT_COOKIES=false"
Expand Down
3 changes: 3 additions & 0 deletions container_files/usr-local-bin/librarySetupFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ setupFiles_storeEnvVars() {
if [ $returnCode != 0 ]; then exit $returnCode; fi

sed -i "s|^GROUPER|export GROUPER|g" /opt/grouper/grouperEnv.sh
returnCode=$?
echo "grouperContainer; INFO: (librarySetupFiles.sh-setupFiles_storeEnvVars) sed -i \"s|^GROUPER|export GROUPER|g\" /opt/grouper/grouperEnv.sh , result: $returnCode"
if [ $returnCode != 0 ]; then exit $returnCode; fi

if [ ! -f /home/tomcat/.bashrc ]
then
Expand Down

0 comments on commit 732a0e1

Please sign in to comment.