Ignore:
Timestamp:
Mar 14, 2009, 5:29:50 AM (11 years ago)
Author:
raimue@…
Message:

base/aclocal.m4, base/configure:
Do expansion on ~ when looking for the home directory of a user.

Most ports expect applications_dir to be an absolute path starting with a
slash. If this is not the case, constructs like ${destroot}${applications_dir}
will fail (work/destroot~foo/). This copies files outside the destroot so they
will not get installed.

Thanks to Kevin Reid (kpreid) for the report.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/aclocal.m4

    r47706 r48083  
    455455                MPAPPLICATIONSDIR="/Applications/MacPorts"
    456456            else
    457                 MPAPPLICATIONSDIR="~$DSTUSR/Applications/MacPorts"
     457                MPAPPLICATIONSDIR="$(eval echo ~$DSTUSR)/Applications/MacPorts"
    458458            fi
    459459        fi
Note: See TracChangeset for help on using the changeset viewer.