Skip to content

Commit

Permalink
Issue #27: switch to using GEMSTONE_ETC_SECRET instead of GEMSTONE_ET…
Browse files Browse the repository at this point in the history
…C_DIRspecify name of file as well in env var
  • Loading branch information
dalehenrich committed Feb 2, 2015
1 parent 5bf0349 commit 4c96185
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/startGemServerGem
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ set -e # exit on error
#
# export GS_DEBUG_VMGC_PRINT_MKSW_MEMORY_USED=75

secret=$GEMSTONE/seaside/etc/gemstone.secret
if [ "${GEMSTONE_ETC_DIR}x" = "x" ] ; then
secret=$GEMSTONE_ETC_DIR
secret=${GEMSTONE_ETC_SECRET}
if [ "${GEMSTONE_ETC_SECRET}x" = "x" ] ; then
secret=$GEMSTONE/seaside/etc/gemstone.secret
fi

if [ -s $secret ]; then
Expand Down

0 comments on commit 4c96185

Please sign in to comment.