Opened 8 years ago
Closed 8 years ago
#1701 closed defect (fixed)
No error message when packageManager.xml does not exist and package management is requested
Reported by: | Pierre Labastie | Owned by: | Pierre Labastie |
---|---|---|---|
Priority: | high | Milestone: | 2.4 |
Component: | jhalfs | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
The jhalfs script should test this and exit if not found...
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.
The reason why it is not flagged when trying to copy package Manager;xml and packInstall.sh to $JHALFSDIR is that it is in a '&&' sequence:
If $PKGMNGTDIR/packageManager.xml does not exist, the non zero exit code just stops the sequence but does not raise an error... So replacing with if..then will flag the error. But it'd be better to have it detected earlier when checking the configuration.