Changeset 121311


Ignore:
Timestamp:
Jun 23, 2014, 10:00:52 AM (6 years ago)
Author:
jmr@…
Message:

quote PATH and MANPATH values in postflight script (#43798)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/portmgr/dmg/postflight.in

    r118569 r121311  
    3737
    3838# Script identification ('cause more often than not the svn Id is not expanded):
    39 VERSION=2.3.0
     39VERSION=2.3.1
    4040
    4141# Abstraction variables:
    42 PREFIX=__PREFIX__
     42PREFIX=@prefix@
    4343BINPATH=${PREFIX}/bin
    4444SBINPATH=${PREFIX}/sbin
     
    241241    echo "Your shell already has the right PATH environment variable for use with MacPorts!"
    242242else
    243     write_setting PATH "${BINPATH}:${SBINPATH}:\$PATH"
     243    write_setting PATH "\"${BINPATH}:${SBINPATH}:\$PATH\""
    244244fi
    245245
     
    260260    echo "Your shell already has the right MANPATH environment variable for use with MacPorts!"
    261261else
    262     write_setting MANPATH "${MANPAGES}:\$MANPATH"
     262    write_setting MANPATH "\"${MANPAGES}:\$MANPATH\""
    263263fi
    264264
Note: See TracChangeset for help on using the changeset viewer.