Skip to content

Commit

Permalink
scripts: refactor quotes usage for variables
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaZotov committed Mar 11, 2024
1 parent 8b6c005 commit 672d024
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion scripts/build_kb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eo pipefail

if [ -z "${SC_MACHINE_PATH}" ];
then
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)/set_vars.sh"
fi

"${SC_MACHINE_PATH}/scripts/build_kb.sh" "$@"
2 changes: 1 addition & 1 deletion scripts/build_sc_component_manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eo pipefail

if [ -z "${SC_COMPONENT_MANAGER_PATH}" ];
then
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)/set_vars.sh"
fi

"${SC_COMPONENT_MANAGER_PATH}/scripts/build_sc_component_manager.sh" "$@"
2 changes: 1 addition & 1 deletion scripts/build_sc_machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eo pipefail

if [ -z "${SC_MACHINE_PATH}" ];
then
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)/set_vars.sh"
fi

"${SC_MACHINE_PATH}/scripts/build_sc_machine.sh" "$@"
2 changes: 1 addition & 1 deletion scripts/build_sc_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eo pipefail

if [ -z "${SC_WEB_PATH}" ];
then
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)/set_vars.sh"
fi

"${SC_WEB_PATH}/scripts/build_sc_web.sh" "$@"
2 changes: 1 addition & 1 deletion scripts/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function usage() {
Usage: $0 [--dev]
Options:
--dev: installs dependencies required to compile sc-machine and sc-web
--dev: Installs dependencies required to compile sc-machine and sc-web
USAGE
exit 1
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This script is used to download sources of ostis-web-platform and submodules
and install them. The exact behavior is configured via run arguments.
Options:
--update: Remove ostis-web-platform submodules sources and download them from scratch.
--update: Removes ostis-web-platform submodules sources and download them from scratch.
USAGE
exit 1
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_sc_component_manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eo pipefail

if [ -z "${SC_COMPONENT_MANAGER_PATH}" ];
then
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)/set_vars.sh"
fi

"${SC_COMPONENT_MANAGER_PATH}/scripts/run_sc_component_manager.sh" "$@"
2 changes: 1 addition & 1 deletion scripts/run_sc_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eo pipefail

if [ -z "${SC_MACHINE_PATH}" ];
then
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)/set_vars.sh"
fi

"${SC_MACHINE_PATH}/scripts/run_sc_server.sh" "$@"
2 changes: 1 addition & 1 deletion scripts/run_sc_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eo pipefail

if [ -z "${SC_WEB_PATH}" ];
then
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)/set_vars.sh"
fi

"${SC_WEB_PATH}/scripts/run_sc_web.sh" "$@"

0 comments on commit 672d024

Please sign in to comment.