From c50c180411eeeca4ac2366eb11d7e0dbc25104d0 Mon Sep 17 00:00:00 2001
From: Jon Azpiazu <jon.azpiazu@tecnalia.com>
Date: Tue, 3 Dec 2019 09:13:16 +0100
Subject: [PATCH] Change the way of using curl to allow calling from sh

---
 .gitlab-industrial-ci-kinetic-no-rosinstall.yml   | 2 +-
 .gitlab-industrial-ci-kinetic-with-rosinstall.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml
index b749d79..331501a 100644
--- a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml
+++ b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml
@@ -143,7 +143,7 @@ adoc_syntax:
   before_script:
     - apk add --update asciidoctor bash
   script:
-    - bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/17-add-asciidoctor-syntax-check-to-ci-tests/scripts/asciidoctor_syntax_check.bash) $$TARGET_REPO_PATH
+    - curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/17-add-asciidoctor-syntax-check-to-ci-tests/scripts/asciidoctor_syntax_check.bash | bash -s -- $$TARGET_REPO_PATH
   tags:
     - docker
   when: always
diff --git a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
index 4c79dce..4e27521 100644
--- a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
+++ b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
@@ -145,7 +145,7 @@ adoc_syntax:
   before_script:
     - apk add --update asciidoctor bash
   script:
-    - bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/17-add-asciidoctor-syntax-check-to-ci-tests/scripts/asciidoctor_syntax_check.bash) $$TARGET_REPO_PATH
+    - curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/17-add-asciidoctor-syntax-check-to-ci-tests/scripts/asciidoctor_syntax_check.bash | bash -s -- $$TARGET_REPO_PATH
   tags:
     - docker
   when: always
-- 
GitLab