Skip to content
Permalink
Browse files

fix sip include test

  • Loading branch information
3nids committed Nov 12, 2020
1 parent 4358617 commit 96318068d2609e5b751c8d014f958e2295dc636e
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/sip_include.sh
@@ -46,7 +46,7 @@ for module in "${modules[@]}"; do
headers=$(
for source in "${sources[@]}"; do
echo "QGIS_${module^^}_${source}"
${GP}sed -r -n -e "/^\s*SET\s*\(QGIS_${module^^}_${source}/,/\)\$/{ /^\s*SET\s*\(QGIS_${module^^}_${source}/d; /\)\$/d; p; }" src/${module}/CMakeLists.txt | \
${GP}sed -r -n -e "/^\s*set\s*\(QGIS_${module^^}_${source}/,/\)\$/{ /^\s*set\s*\(QGIS_${module^^}_${source}/d; /\)\$/d; p; }" src/${module}/CMakeLists.txt | \
${GP}sed -r -e '/\.cc?$/d' `# remove c and cc extensions` \
-e 's/\.cpp$/.h/' `# rename cpp file as headers` \
-e '/^\s*\$\{CMAKE_(CURRENT_)?BINARY_DIR\}/d' \

0 comments on commit 9631806

Please sign in to comment.
You can’t perform that action at this time.