Browse Source

ci: fix test build system when using template repository from a
different branch then master

David Cermak 6 years ago
parent
commit
ee8ab79696
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tools/ci/test_build_system.sh
  2. 1 1
      tools/ci/test_build_system_cmake.sh

+ 1 - 1
tools/ci/test_build_system.sh

@@ -46,7 +46,7 @@ function run_tests()
     if [ -z $CHECKOUT_REF_SCRIPT ]; then
     if [ -z $CHECKOUT_REF_SCRIPT ]; then
         git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
         git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
     else
     else
-        $CHECKOUT_REF_SCRIPT esp-idf-template
+        $CHECKOUT_REF_SCRIPT esp-idf-template .
     fi
     fi
 
 
     print_status "Updating template config..."
     print_status "Updating template config..."

+ 1 - 1
tools/ci/test_build_system_cmake.sh

@@ -48,7 +48,7 @@ function run_tests()
     if [ -z $CHECKOUT_REF_SCRIPT ]; then
     if [ -z $CHECKOUT_REF_SCRIPT ]; then
         git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
         git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
     else
     else
-        $CHECKOUT_REF_SCRIPT esp-idf-template
+        $CHECKOUT_REF_SCRIPT esp-idf-template .
     fi
     fi
 
 
     print_status "Try to clean fresh directory..."
     print_status "Try to clean fresh directory..."