Opened 15 years ago

#4 new defect

geomag_profile.sh does'nt work correctly when launched twice

Reported by: pinsard Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

geomag_profile.sh does'nt work correctly on rhodes when launched twice

rhodes-reee522 : . ./geomag_profile.sh -d $(pwd)
 www : no specific posix checking
rhodes-reee522 : . ./geomag_profile.sh -d $(pwd)
ksh: 1: parameter not set

On aedon (mac) we have the same problem

aedon:/usr/home/fplod/incas/geomag/geomag_ws fplod$ . ./geomag_profile.sh -d $(pwd)
aedon:/usr/home/fplod/incas/geomag/geomag_ws fplod$ . ./geomag_profile.sh -d $(pwd)
-bash: 1: unbound variable
geomag_profile.sh : iii : /usr/home/fplod/incas/geomag/geomag_ws/ already in ${PATH}
geomag_profile.sh : iii : /usr/home/fplod/incas/geomag/geomag_ws/man/ already in ${MANPATH}

something to do with -u option. but how to not use it and have a nice code at the same time !

Change History (0)

Note: See TracTickets for help on using tickets.