|
@@ -178,7 +178,7 @@ doConfigUpdate () {
|
|
doConfigFileUpdate () {
|
|
doConfigFileUpdate () {
|
|
FILENAME=$1
|
|
FILENAME=$1
|
|
if [ -f $FILENAME ]; then
|
|
if [ -f $FILENAME ]; then
|
|
- if [ "1" == "`grep -n \"\\\"properties\\\"\" $FILENAME | cut -d : -f 1`" ]; then
|
|
|
|
|
|
+ if [ "1" == "$(grep -En ^\"properties\" $FILENAME | cut -d : -f 1)" ]; then
|
|
newTag=`date "+%s%N"`
|
|
newTag=`date "+%s%N"`
|
|
newTag="version${newTag}"
|
|
newTag="version${newTag}"
|
|
newProperties=`cat $FILENAME`;
|
|
newProperties=`cat $FILENAME`;
|