Skip to content

Commit

Permalink
fix sip include test
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Nov 11, 2020
1 parent eddf6fe commit fec9c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sip_include.sh
Expand Up @@ -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' \
Expand Down

0 comments on commit fec9c52

Please sign in to comment.