installer doesn't modify root path

Harald Hanche-Olsen hanche at math.ntnu.no
Tue Feb 2 08:18:31 PST 2016


-----Original Message-----
From: Phil Oertel <phillipao at gmail.com>
Date: 2 February 2016 at 17:13:59

> Yes, it has both env_reset and a secure_path. And some comments at the top
> indicating that the file is periodically overwritten by Puppet.

Ah, then we have a definite diagnosis! Good. Then what remains is for you to negotiate with the puppet admins. Meanwhile, or if you can’t make them change their practice, you can always invoke macports via a shell script looking somewhat like this:

#!/bin/sh
PATH="/opt/local/bin:/opt/local/sbin:$PATH”
export PATH
exec port “$@“

– Harald


More information about the macports-users mailing list