Repository navigation
Commit ba028ea
makeIssue: run-me finds the archive's root from a relative WORK_HOME
The run-me script changes to its own directory and sources the vars file
from there, and the vars' paths are relative to the archive's root. An
absolute WORK_HOME is stripped from the archive's member names and
WORK_HOME=. is the root, so run-me is at the root in both. A relative
WORK_HOME such as work/gcd keeps its place under the root, and run-me
then failed:
couldn't read file "./scripts/detail_place.tcl"
run-me now climbs from its directory back to the archive's root and
sources the vars file by its path from there. An absolute WORK_HOME and
WORK_HOME=. give the same run-me as before.
TestRunMe runs the run-me of an archive made with a relative WORK_HOME
from elsewhere; it failed before this change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 4c7395d commit ba028ea
2 files changed
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
204 | 207 | | |
205 | 208 | | |
206 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
102 | 116 | | |
103 | | - | |
104 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
105 | 123 | | |
106 | 124 | | |
107 | | - | |
108 | | - | |
| 125 | + | |
| 126 | + | |
109 | 127 | | |
110 | 128 | | |
111 | 129 | | |
| |||
0 commit comments