Commit 4bc902f
committed
fix: harden WORK_HOME path matching in make issue
Address review:
- generate-vars.sh: require a path boundary after WORK_HOME so a
prefix (e.g. /tmp/work) does not corrupt sibling paths
(e.g. /tmp/work_other)
- makeIssue.sh: tolerate trailing slash in WORK_HOME and slash runs
in tar member names (${WORK_HOME}/x yields ws//x when WORK_HOME
ends in /)
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>1 parent 7b6f366 commit 4bc902f
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
137 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments