How do I escape the installdir variable for OS X?

Answered

Comments

1 comment

  • Avatar
    juanjo

    You could surround it by quotes when writing it into the script or use a regular expression:

    <setInstallerVariableFromRegEx>
        <name>escaped_installdir</name>
        <pattern> </pattern>
        <substitution>\\ </substitution>
        <text>${installdir}</text>
    </setInstallerVariableFromRegEx>
    

    And use ${escaped_installdir} instead.

Please sign in to leave a comment.