This is an automated email from the ASF dual-hosted git repository.

ilyak pushed a commit to branch ignite-15647
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit dd2a0fd24ff1283a210f1fc350b6587f408ee9dd
Author: Ilya Kaznacheev <ilya.kaznacheev@chronicle.software>
AuthorDate: Thu Oct 28 00:32:54 2021 +0300

    IGNITE-15647 Enable multi-word -e parameter in sqlline.sh
    
    Also fix control.sh
---
 bin/control.sh                 | 4 ++--
 modules/sqlline/bin/sqlline.sh | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/control.sh b/bin/control.sh
index e77c7ac..125c249 100755
--- a/bin/control.sh
+++ b/bin/control.sh
@@ -175,11 +175,11 @@ case $osname in
     Darwin*)
         "$JAVA" ${CONTROL_JVM_OPTS} ${QUIET:-} "${DOCK_OPTS}" \
          -DIGNITE_UPDATE_NOTIFIER=false -DIGNITE_HOME="${IGNITE_HOME}" \
-         -DIGNITE_PROG_NAME="$0" ${JVM_XOPTS:-} -cp "${CP}" ${MAIN_CLASS} $@
+         -DIGNITE_PROG_NAME="$0" ${JVM_XOPTS:-} -cp "${CP}" ${MAIN_CLASS} "$@"
     ;;
     *)
         "$JAVA" ${CONTROL_JVM_OPTS} ${QUIET:-} \
          -DIGNITE_UPDATE_NOTIFIER=false -DIGNITE_HOME="${IGNITE_HOME}" \
-         -DIGNITE_PROG_NAME="$0" ${JVM_XOPTS:-} -cp "${CP}" ${MAIN_CLASS} $@
+         -DIGNITE_PROG_NAME="$0" ${JVM_XOPTS:-} -cp "${CP}" ${MAIN_CLASS} "$@"
     ;;
 esac
diff --git a/modules/sqlline/bin/sqlline.sh b/modules/sqlline/bin/sqlline.sh
index a89566f..e6420cf 100644
--- a/modules/sqlline/bin/sqlline.sh
+++ b/modules/sqlline/bin/sqlline.sh
@@ -104,4 +104,4 @@ CP="${CP}${SEP}${IGNITE_HOME_TMP}/bin/include/sqlline/*"
 # the Ignite provides --historyfile argument to SQLLine usage
 SQLLINE_HISTORY="~/.sqlline/ignite_history"
 
-"$JAVA" ${JVM_OPTS} -cp ${CP} sqlline.SqlLine --historyFile=${SQLLINE_HISTORY} 
$@
+"$JAVA" ${JVM_OPTS} -cp ${CP} sqlline.SqlLine --historyFile=${SQLLINE_HISTORY} 
"$@"

Reply via email to