On 2015-10-09 18:13, Clemens Lang wrote:
> ----- On 9 Oct, 2015, at 17:38, Brandon Allbery allber...@gmail.com wrote:
> 
>> That kind of path is normally used with application bundles (that is, stuff
>> under /Applications). What exactly are you trying to run? And do you have any
>> DYLD variables set in the environment?
>>
>> $ env | grep DYLD
> 
> Note that due to System Integrity Protection, "env" no longer lists any DYLD_
> variables on El Capitan. Try
>   $ (set -o posix; set) | grep DYLD
> instead.

This has the limitation that it will show all shell variables, not just
those which are exported. This is a subtle difference and the command
above probably works in most cases. The following would only show
exported variables and their values:

  for i in $(compgen -e); do echo "$i=${!i}"; done

Rainer
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to