Opened 8 years ago
Closed 8 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 , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 8 years ago
Note:
See TracTickets
for help on using tickets.
Ah, I see, it is only used when "Rebuild the Makefile" has been selected". I've not used it for a while...