stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject [11/12] stratos git commit: reformat the code in gce config.sh
Date Thu, 04 Jun 2015 06:33:03 GMT
reformat the code in gce config.sh


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/4d4e8492
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/4d4e8492
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/4d4e8492

Branch: refs/heads/master
Commit: 4d4e8492a1d77a802b400451a1615a9473c8595d
Parents: 57e1dcb
Author: asanka sanjaya <angal.sh@gmail.com>
Authored: Thu Jun 4 06:08:01 2015 +0000
Committer: asanka sanjaya <angal.sh@gmail.com>
Committed: Thu Jun 4 06:08:01 2015 +0000

----------------------------------------------------------------------
 tools/config-scripts/gce/config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/4d4e8492/tools/config-scripts/gce/config.sh
----------------------------------------------------------------------
diff --git a/tools/config-scripts/gce/config.sh b/tools/config-scripts/gce/config.sh
index 2fd7076..ab75b12 100644
--- a/tools/config-scripts/gce/config.sh
+++ b/tools/config-scripts/gce/config.sh
@@ -91,7 +91,7 @@ if [[ $answer = y ]] ; then
 	ARGS=("-n${NODEID}" "-d${DOMAIN}" "-s${PUPPET_IP}")
 	${ECHO} "\nRunning puppet installation with arguments: ${ARGS[@]}"
 	/root/bin/puppetinstall/puppetinstall "${ARGS[@]}"
-	if [[ -e ${LOCKFILE} ]]; then
+	if [ -e ${LOCKFILE} ]; then
 	    ${RM} ${LOCKFILE}
 	fi
 


Mime
View raw message