This is an automated email from the ASF dual-hosted git repository.
ilyak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 6ac7c9684e1 IGNITE-15647 Enable multi-word -e parameter in sqlline.sh
6ac7c9684e1 is described below
commit 6ac7c9684e14c48f9114a312b9bfcead820c5b26
Author: Ilya Kaznacheev <[email protected]>
AuthorDate: Thu Mar 30 22:01:34 2023 +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 e1e983efc9f..0e41be7faf3 100755
--- a/bin/control.sh
+++ b/bin/control.sh
@@ -149,11 +149,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 3162e4e89b2..5bd99a63ff7 100644
--- a/modules/sqlline/bin/sqlline.sh
+++ b/modules/sqlline/bin/sqlline.sh
@@ -77,4 +77,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}
"$@"