aboutsummaryrefslogtreecommitdiff
path: root/projects/cros-ec
diff options
context:
space:
mode:
Diffstat (limited to 'projects/cros-ec')
-rwxr-xr-xprojects/cros-ec/cros-ec6
1 files changed, 3 insertions, 3 deletions
diff --git a/projects/cros-ec/cros-ec b/projects/cros-ec/cros-ec
index 8fb75003..be7aa62b 100755
--- a/projects/cros-ec/cros-ec
+++ b/projects/cros-ec/cros-ec
@@ -73,7 +73,7 @@ build() {
mkdir -p "$build_path"
- if [ "$target" = "tools" ]
+ if [[ "$target" = "tools" ]]
then
make -C "$sources_path" out="$build_path" HOST_CROSS_COMPILE= -j$TASKS "utils"
else
@@ -104,7 +104,7 @@ release() {
local repository=$project
- if [ "$target" = "tools" ]
+ if [[ "$target" = "tools" ]]
then
project_release_install_archive "$project" "$TOOLS" "$@"
else
@@ -119,7 +119,7 @@ release_check() {
local repository=$project
- if [ "$target" = "tools" ]
+ if [[ "$target" = "tools" ]]
then
project_release_install_archive_check "$project" "$TOOLS" "$@"
else