mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Make sip_include script use the workaround for SIP's path parsing
This commit is contained in:
parent
4bf44d5e81
commit
6d9240cfd8
@ -65,6 +65,11 @@ for module in "${modules[@]}"; do
|
|||||||
if [[ ! -z $if_cond ]]; then
|
if [[ ! -z $if_cond ]]; then
|
||||||
echo "$if_cond" >> $file
|
echo "$if_cond" >> $file
|
||||||
fi
|
fi
|
||||||
|
if [[ "$sip" == [0-9]* ]]; then
|
||||||
|
# unfortunately SIP parser does not accept relative paths starting with a number
|
||||||
|
# so "%Include 3d/xxxx.sip" is a syntax error but everything works with "%Include ./3d/xxxx.sip"
|
||||||
|
sip="./$sip"
|
||||||
|
fi
|
||||||
echo "%Include $sip" >> $file
|
echo "%Include $sip" >> $file
|
||||||
if [[ ! -z $if_cond ]]; then
|
if [[ ! -z $if_cond ]]; then
|
||||||
echo "%End" >> $file
|
echo "%End" >> $file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user