Ticket #27119 (closed defect: worksforme)
arb: ARBHOME environment variable incorrectly set
| Reported by: | gawbul@… | Owned by: | matt.cottrell@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.1 |
| Keywords: | Cc: | ||
| Port: | arb |
Description (last modified by ryandesign@…) (diff)
When using MacPorts to "install arb" the incorrect details are placed into the ~/.profile file.
The details should be:
ARBHOME=/opt/local/share/arb;export ARBHOME PATH=/opt/local/share/arb/bin:$PATH export PATH
however, the following information is added instead:
ARHOME=/opt/local/share/arb;export ARBHOME PATH=/opt/local/share/arb/bin:$PATH export PATH
note the spelling mistake of ARHOME!
Change History
comment:1 Changed 3 years ago by jmr@…
- Keywords arb removed
- Cc matt.cottrell@… removed
- Owner changed from macports-tickets@… to matt.cottrell@…
comment:2 Changed 3 years ago by matt.cottrell@…
Actually, the ARB MacPort does modify the ~/.profile file using the script /opt/local/bin/arb_macsetup
But as far as I can tell it works properly. Convince yourself by logging into the Guest account and run the /opt/local/bin/arb_macsetup script. Then inspect the .profile file and you will see the ARBHOME variable set properly.
Not sure why you got this aberrant behavior. The arb MacPort has been available for a little over the year and no other users have reported this problem. But do post if you continue to reproduce this behavior.
comment:3 Changed 3 years ago by gawbul@…
My apologies, perhaps I was a little hasty in my post? I wonder if someone else in the lab here had tried to update the ~/.profile file manually and made a mistake in their input? I will keep an eye on future installations, but if no-one else has had this issues, then it seems more likely it is user error, than an error with the port. Many thanks!


The port doesn't appear to change ~/.profile at all, it just prints a message instructing the user to do so (which looks correct).