Opened 7 years ago

Closed 7 years ago

#1710 closed defect (fixed)

$JHALFSDIR maybe put twice in a path

Reported by: Pierre Labastie Owned by: Pierre Labastie
Priority: normal Milestone: 2.4.1
Component: jhalfs Version: SVN
Severity: normal Keywords:
Cc:

Description

In the jhalfs script, we have:

BOOK=${BOOK:=$JHALFSDIR/$PROGNAME-$LFSVRS}

but we also have:

VERSION=$(grep 'ENTITY version ' $JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)

(or the same with versiond instead of version).

So if BOOK is not defined when running the first instruction, the path used in the second version contains $JHALFSDIR twice (which is wrong of course). What I do not understand is why it does not show up more often...

Change History (3)

comment:1 by Pierre Labastie, 7 years ago

Owner: changed from alfs-log@… to Pierre Labastie
Status: newassigned

comment:2 by Pierre Labastie, 7 years ago

Ah, I see, it is only used when "Rebuild the Makefile" has been selected". I've not used it for a while...

comment:3 by Pierre Labastie, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r 3962

Note: See TracTickets for help on using tickets.