Hello,
I've runned autogen.sh present in rawbuild and i've got : Bad substitution.
After having added a set -x at the beginning of the script, I found it 
was in the function requote, all these lines are ko :
       set -- "${@//\'/$q\'$q}"        # quote inner instances of '
        set -- "${@/#/$q}"              # add ' to start of each param
        set -- "${@/%/$q}"              # add ' to end of each param
After research, I found that it was because these lines correspond to an 
extension of the generic shell /bin/sh
So if i use the shebang
#!/bin/bash
instead of
#!/bin/sh
That's ok.
(i haven't tested with the other shells).
I precise I haven't migrated my build system yet so perhaps it's ok now.
Julien.
Context
- [Libreoffice] Error in autogen.sh of rawbuild : Bad substitution · Julien Nabet
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.