From cef53cc69dda96f57202d1a839d5b284ed26968d Mon Sep 17 00:00:00 2001 From: Jeonghoon Park Date: Tue, 12 Sep 2017 14:26:00 +0900 Subject: [PATCH] fix typos Change-Id: I01421d939290a2d0acd43e6cafa296e318c536b4 --- tool/install_with_conf.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tool/install_with_conf.sh b/tool/install_with_conf.sh index 2d94936..a560e39 100755 --- a/tool/install_with_conf.sh +++ b/tool/install_with_conf.sh @@ -41,16 +41,16 @@ sdb push $2 /tmp sdb shell "rpm -ivh --force /tmp/$filename" if [ -z "$3" ]; then - sdb shell "sed -i -e 's/\(path=\).*/\1"${3//\//\\/}"/' ${conf_file}" -else echo "No argument for Device ID" +else + sdb shell "sed -i -e 's/\(path=\).*/\1"${3//\//\\/}"/' ${conf_file}" fi if [ -z "$4" ]; then - sdb shell "sed -i -e 's/\(address=\).*/\1"${4//\//\\/}"/' ${conf_file}" -else echo "No argument for Web API URL" +else + sdb shell "sed -i -e 's/\(address=\).*/\1"${4//\//\\/}"/' ${conf_file}" fi sdb shell pkg_initdb --ro -- 2.7.4