You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2013/07/29 13:37:27 UTC

git commit: updated refs/heads/4.1 to 639fb38

Updated Branches:
  refs/heads/4.1 cf2babe7a -> 639fb3826


CLOUDSTACK-3843: remove greedy results in save_password_to_domr.sh


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/639fb382
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/639fb382
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/639fb382

Branch: refs/heads/4.1
Commit: 639fb382648d320fda5b24ed002d7da69097624e
Parents: cf2babe
Author: Wei Zhou <w....@leaseweb.com>
Authored: Mon Jul 29 13:02:07 2013 +0200
Committer: Wei Zhou <w....@leaseweb.com>
Committed: Mon Jul 29 13:36:47 2013 +0200

----------------------------------------------------------------------
 scripts/network/domr/save_password_to_domr.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/639fb382/scripts/network/domr/save_password_to_domr.sh
----------------------------------------------------------------------
diff --git a/scripts/network/domr/save_password_to_domr.sh b/scripts/network/domr/save_password_to_domr.sh
index 7b29472..9b44663 100755
--- a/scripts/network/domr/save_password_to_domr.sh
+++ b/scripts/network/domr/save_password_to_domr.sh
@@ -29,7 +29,7 @@ replace_in_file_on_domr() {
   local filename=$1
   local keyname=$2
   local value=$3
-  $VIA_SSH "sed -i /$keyname/d $filename; \
+  $VIA_SSH "sed -i /$keyname=/d $filename; \
   		 	echo "$keyname=$value" >> $filename "
   		 	
   # $VIA_SSH "sed -e /$keyname/d $filename > $filename.new; \