Skip to content
Permalink
Browse files

Make sip_include script use the workaround for SIP's path parsing

  • Loading branch information
wonder-sk committed Sep 24, 2017
1 parent 4bf44d5 commit 6d9240cfd8a5cdea66dc296d3f4a9493fedca1d2
Showing with 5 additions and 0 deletions.
  1. +5 −0 scripts/sip_include.sh
@@ -65,6 +65,11 @@ for module in "${modules[@]}"; do
if [[ ! -z $if_cond ]]; then
echo "$if_cond" >> $file
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
if [[ ! -z $if_cond ]]; then
echo "%End" >> $file

0 comments on commit 6d9240c

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