Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "MicroserviceParameter class DB constraints"
[portal.git]
/
deliveries
/
start-apache-tomcat.sh
diff --git
a/deliveries/start-apache-tomcat.sh
b/deliveries/start-apache-tomcat.sh
index
522eaf2
..
98dde8b
100644
(file)
--- a/
deliveries/start-apache-tomcat.sh
+++ b/
deliveries/start-apache-tomcat.sh
@@
-5,6
+5,7
@@
hostip=""
hostname=""
hostip=""
hostname=""
+BASE=/opt/apache-tomcat-8.0.37
while [ $# -gt 0 ]; do
key="$1"
case $key in
while [ $# -gt 0 ]; do
key="$1"
case $key in
@@
-20,6
+21,12
@@
while [ $# -gt 0 ]; do
shift # past argument
shift # past value
;;
shift # past argument
shift # past value
;;
+ -b|--base)
+ BASE="$2"
+ echo "$0: option -b value is $BASE"
+ shift # past argument
+ shift # past value
+ ;;
*)
echo "$0: ignoring argument $key"
shift
*)
echo "$0: ignoring argument $key"
shift
@@
-43,7
+50,6
@@
else
fi
fi
fi
fi
-BASE=/opt/apache-tomcat-8.0.37
if [ ! -d $BASE ] ; then
echo "$0: $BASE not found or not a directory"
exit 1
if [ ! -d $BASE ] ; then
echo "$0: $BASE not found or not a directory"
exit 1