commit | b54ea17c6624c17a811f390b18a2fa58c139ae8e | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Tue Sep 02 16:34:43 2014 -0700 |
committer | Saurav Das <sauravdas@alumni.stanford.edu> | Fri Sep 05 11:47:25 2014 -0700 |
tree | 504ac7eb47aff5f88c03f1fb26e355b73c687699 | |
parent | c0afcf9eceb28eabbf00dc03d9afaeb2cd517a57 [diff] |
Avoid using sed -i option. - BSD sed and GNU sed behaves differently. Change-Id: I36c7c1f1eb6bd678811e103b651bfd87da454664
diff --git a/onos.sh b/onos.sh index 0790afd..a8bcb49 100755 --- a/onos.sh +++ b/onos.sh
@@ -416,8 +416,7 @@ else echo $line fi - done < ${ZK_CONF_TEMPLATE} > ${temp_zk} - sed -e "s|__CLIENTPORT__|${ZK_CLIENTPORT}|" -i "" ${temp_zk} + done < ${ZK_CONF_TEMPLATE} | sed -e "s|__CLIENTPORT__|${ZK_CLIENTPORT}|" > ${temp_zk} end-conf-creation ${ZK_CONF}