Repository navigation
Commit 87109ac
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 0f8454f commit 87109ac
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 | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
119 | 133 | | |
120 | | - | |
121 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
122 | 140 | | |
123 | 141 | | |
124 | | - | |
125 | | - | |
| 142 | + | |
| 143 | + | |
126 | 144 | | |
127 | 145 | | |
128 | 146 | | |
| |||
0 commit comments