|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5984 | minor | always | 03-01-16 23:20 | 05-09-16 11:19 | |
|
|
|||||
| Reporter: | stoty | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.47 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.49 | ||
|
|
|||||
| Summary: | 0005984: resin.sh broken | ||||
| Description: |
The bin/resin.sh script in resin 4.0.48 is broken. It starts by determining ${RESIN_HOME} variable, that generally evaluates to "./.." Then in cd-s there (that is correct) Then it tries to execute ./../lib/resin.jar, which now actually points one level above the actual lib directory. A possible fix is to normalize RESIN_HOME by adding RESIN_HOME=`readlink -f $RESIN_HOME` after RESIN_HOME="$bin/.." , or just skipping the cd command altogether |
||||
| Steps To Reproduce: | |||||
| Additional Information: | The affected system is Centos 7.2 x86_64, but I believe that this bug is not system dependent. | ||||
| Relationships | |||||
| Attached Files: | |||||
| There are no notes attached to this issue. |