File tree 3 files changed +13
-5
lines changed
3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 3
3
# Copyright (c) 2014, 2015 GemTalk Systems, LLC <[email protected] >.
4
4
# =========================================================================
5
5
6
+ echo " ================="
7
+ echo " GsDevKit GemStone script: $( basename $0 ) "
8
+ echo " ================="
9
+
6
10
if [ -s $GEMSTONE /seaside/etc/gemstone.secret ]; then
7
11
. $GEMSTONE /seaside/etc/gemstone.secret
8
12
else
Original file line number Diff line number Diff line change 3
3
# Copyright (c) 2014, 2015 GemTalk Systems, LLC <[email protected] >.
4
4
# =========================================================================
5
5
6
+ echo " ================="
7
+ echo " GsDevKit GemStone script: $( basename $0 ) "
8
+ echo " ================="
9
+
6
10
if [ -s $GEMSTONE /seaside/etc/gemstone.secret ]; then
7
11
. $GEMSTONE /seaside/etc/gemstone.secret
8
12
else
Original file line number Diff line number Diff line change 36
36
37
37
set -e # exit on error
38
38
waitTime=" "
39
- ARGS =" "
39
+ ARG =" "
40
40
while getopts " hw:CNR" OPT ; do
41
41
case " $OPT " in
42
42
C)
43
43
if [ " ${ARGS} x" != " x" ] ; then
44
44
echo " Only one of -C -N or -R options may be specified"
45
45
exit 1
46
46
fi
47
- ARGS= " ${OPT} "
47
+ ARG= " -C "
48
48
;;
49
49
h) usage; exit 0 ;;
50
50
N)
51
51
if [ " ${ARGS} x" != " x" ] ; then
52
52
echo " Only one of -C -N or -R options may be specified"
53
53
exit 1
54
54
fi
55
- ARGS= " ${OPT} "
55
+ ARG= " -N "
56
56
;;
57
57
R)
58
58
if [ " ${ARGS} x" != " x" ] ; then
59
59
echo " Only one of -C -N or -R options may be specified"
60
60
exit 1
61
61
fi
62
- ARGS= " ${OPT} "
62
+ ARG= " -R "
63
63
;;
64
64
w) waitTime=" ${OPTARG} " ;;
65
65
* ) usage; exit 1 ;;
@@ -82,7 +82,7 @@ source $stonePath/stone.env
82
82
popd >& /dev/null
83
83
84
84
# start the stone
85
- $GS_HOME /bin/gs/startGemstone $ARGS
85
+ $GS_HOME /bin/gs/startGemstone $ARG
86
86
87
87
if [ " ${waitTime} x" = " x" ] ; then
88
88
if [ " ${GS_TRAVIS} x" != " x" ] ; then
You can’t perform that action at this time.
0 commit comments