commit | 7f495cf93a6a0cb37e88a806003a6fdc2c4507b5 | [log] [tgz] |
---|---|---|
author | Naoki Shiota <n-shiota@onlab.us> | Wed May 21 17:23:25 2014 -0700 |
committer | Gerrit Code Review <gerrit2@gerrit.onos.onlab.us> | Fri May 23 11:27:51 2014 -0700 |
tree | b80a4ae6e3f87aca45e5ee0227758c6b9beb3fec | |
parent | d7b5094d92621ddf5a679fb67185f222fc06800a [diff] |
Fixed the problem that creation of ZooKeeper lib directory fails. Change-Id: I50d423c03e3f7d031ed45a218c7e573348585a9e
diff --git a/onos.sh b/onos.sh index beb874f..c3331de 100755 --- a/onos.sh +++ b/onos.sh
@@ -230,7 +230,7 @@ # Create the ZooKeeper lib directory if [ ! -d ${ZK_LIB_DIR} ]; then - local SUDO=${SUDO:-} + local SUDO=${SUDO:-sudo} local whoami=`whoami` { ${SUDO} mkdir ${ZK_LIB_DIR}