Skip to content

Commit 2473c9d

Browse files
committed
Issue #58: aaaaaargh handling [ci skip]
1 parent f6cd911 commit 2473c9d

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

Diff for: bin/gs/startGemstone

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# Copyright (c) 2014, 2015 GemTalk Systems, LLC <[email protected]>.
44
#=========================================================================
55

6+
echo "================="
7+
echo " GsDevKit GemStone script: $(basename $0)"
8+
echo "================="
9+
610
if [ -s $GEMSTONE/seaside/etc/gemstone.secret ]; then
711
. $GEMSTONE/seaside/etc/gemstone.secret
812
else

Diff for: bin/gs/stopGemstone

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# Copyright (c) 2014, 2015 GemTalk Systems, LLC <[email protected]>.
44
#=========================================================================
55

6+
echo "================="
7+
echo " GsDevKit GemStone script: $(basename $0)"
8+
echo "================="
9+
610
if [ -s $GEMSTONE/seaside/etc/gemstone.secret ]; then
711
. $GEMSTONE/seaside/etc/gemstone.secret
812
else

Diff for: bin/startStone

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,30 +36,30 @@ HELP
3636

3737
set -e # exit on error
3838
waitTime=""
39-
ARGS=""
39+
ARG=""
4040
while getopts "hw:CNR" OPT ; do
4141
case "$OPT" in
4242
C)
4343
if [ "${ARGS}x" != "x" ] ; then
4444
echo "Only one of -C -N or -R options may be specified"
4545
exit 1
4646
fi
47-
ARGS="${OPT}"
47+
ARG="-C"
4848
;;
4949
h) usage; exit 0 ;;
5050
N)
5151
if [ "${ARGS}x" != "x" ] ; then
5252
echo "Only one of -C -N or -R options may be specified"
5353
exit 1
5454
fi
55-
ARGS="${OPT}"
55+
ARG="-N"
5656
;;
5757
R)
5858
if [ "${ARGS}x" != "x" ] ; then
5959
echo "Only one of -C -N or -R options may be specified"
6060
exit 1
6161
fi
62-
ARGS="${OPT}"
62+
ARG="-R"
6363
;;
6464
w) waitTime="${OPTARG}" ;;
6565
*) usage; exit 1 ;;
@@ -82,7 +82,7 @@ source $stonePath/stone.env
8282
popd >& /dev/null
8383

8484
# start the stone
85-
$GS_HOME/bin/gs/startGemstone $ARGS
85+
$GS_HOME/bin/gs/startGemstone $ARG
8686

8787
if [ "${waitTime}x" = "x" ] ; then
8888
if [ "${GS_TRAVIS}x" != "x" ] ; then

0 commit comments

Comments
 (0)