Commit a71df7bd authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Fixed bug on regex expresion

parent 570e7e64
......@@ -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))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment