Skip to content

Commit

Permalink
Fix ESMX git call for existing component (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
danrosen25 authored Jul 13, 2023
1 parent e6df7cd commit 9ebdf80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/addon/ESMX/Driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -211,25 +211,25 @@ foreach(CMP IN ITEMS ${COMPS})
WORKING_DIRECTORY ${CMP_GIT_DIR}
RESULT_VARIABLE ret
)
esmx_check_err(${ret} "git set-url failed for ${CMP}")
esmx_check_ret(${ret} "git set-url failed for ${CMP}")
execute_process(
COMMAND git fetch origin
WORKING_DIRECTORY ${CMP_GIT_DIR}
RESULT_VARIABLE ret
)
esmx_check_err(${ret} "git fetch failed for ${CMP}")
esmx_check_ret(${ret} "git fetch failed for ${CMP}")
execute_process(
COMMAND git checkout ${CMP_GIT_TAG}
WORKING_DIRECTORY ${CMP_GIT_DIR}
RESULT_VARIABLE ret
)
esmx_check_err(${ret} "git checkout failed for ${CMP}")
esmx_check_ret(${ret} "git checkout failed for ${CMP}")
execute_process(
COMMAND git pull origin ${CMP_GIT_TAG}
WORKING_DIRECTORY ${CMP_GIT_DIR}
RESULT_VARIABLE ret
)
esmx_check_err(${ret} "git pull failed for ${CMP}")
esmx_check_ret(${ret} "git pull failed for ${CMP}")
endif()
endif()

Expand Down

0 comments on commit 9ebdf80

Please sign in to comment.