From a71df7bdb7ea17388cd5cf7a3541a9cd31cc7759 Mon Sep 17 00:00:00 2001
From: Alejandro Lopez Gestoso <alopez@iri.upc.edu>
Date: Fri, 23 Sep 2022 10:25:51 +0200
Subject: [PATCH] Fixed bug on regex expresion

---
 packaging-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packaging-ci.yml b/packaging-ci.yml
index 5a7eb80..b18bea0 100644
--- a/packaging-ci.yml
+++ b/packaging-ci.yml
@@ -12,7 +12,7 @@
       ##Install dependencies
       #- apt -y install iri-dep1-dev iri-dep2-dev
       # Read dependencies from CMakeLists.txt
-      - DEP=( $(grep -P '\s+SET\(CPACK_DEBIAN_PACKAGE_DEPENDS\s+"' CMakeLists.txt | grep -v '#') ) || echo " Package iri-$PACKAGE_NAME-dev without dependencies"
+      - DEP=( $(grep -P '\s?SET\(CPACK_DEBIAN_PACKAGE_DEPENDS\s+"' CMakeLists.txt | grep -v '#') ) || echo " Package iri-$PACKAGE_NAME-dev without dependencies"
       - declare -a DEP
       - |+
         for ((i=1;i<${#DEP[@]};i+=3))
-- 
GitLab