Repository navigation
Commit c4bf768
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. With
an absolute WORK_HOME, its prefix is stripped from the archive's member
names, so run-me lands at the root and that works. With WORK_HOME=. it
is at the root too. 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 by their path from there. An absolute WORK_HOME and
WORK_HOME=. produce the same run-me as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent f23e2bc commit c4bf768
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
87 | 101 | | |
88 | 102 | | |
89 | 103 | | |
90 | | - | |
91 | | - | |
| 104 | + | |
| 105 | + | |
92 | 106 | | |
93 | 107 | | |
94 | 108 | | |
95 | 109 | | |
96 | 110 | | |
97 | | - | |
98 | | - | |
| 111 | + | |
| 112 | + | |
99 | 113 | | |
100 | 114 | | |
101 | 115 | | |
| |||
0 commit comments