Opened 14 years ago

Closed 13 years ago

#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 (Ryan Carsten Schmidt))

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 (6)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: matt.cottrell@… removed
Keywords: arb removed
Owner: changed from macports-tickets@… to matt.cottrell@…

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

comment:2 Changed 14 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 14 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!

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: ARBHOME environment variable incorrectly setarb: ARBHOME environment variable incorrectly set

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.