File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ endfunction()
69
69
# Validates if given SHA1/tag/branch name exists in local repo
70
70
function (is_valid_revision repo_dir revision return_val )
71
71
message (STATUS "[OPENCL-CLANG] Validating ${revision} in repository" )
72
- # Check if we have under revision exitsting branch/tag/SHA1 in this repo
72
+ # Check if we have under revision existing branch/tag/SHA1 in this repo
73
73
execute_process (
74
74
COMMAND ${GIT_EXECUTABLE} log -1 ${revision}
75
75
WORKING_DIRECTORY ${repo_dir}
@@ -78,9 +78,9 @@ function(is_valid_revision repo_dir revision return_val)
78
78
OUTPUT_QUIET
79
79
)
80
80
if (${output_var} EQUAL 0 )
81
- set (${return_val} True PARENT_SCOPE ) # this tag/branch/sha1 existis in repo
81
+ set (${return_val} True PARENT_SCOPE ) # this tag/branch/sha1 exists in repo
82
82
else ()
83
- set (${return_val} False PARENT_SCOPE ) # this tag/branch/sha1 not existis in repo
83
+ set (${return_val} False PARENT_SCOPE ) # this tag/branch/sha1 not exists in repo
84
84
endif ()
85
85
endfunction ()
86
86
You can’t perform that action at this time.
0 commit comments