Commit 9d04988
committed
tsm-client: fix symlink fixup
`tsm-client` binary distribution apparently no longer
contains any absolut `/usr/....` symlinks.
On the other hand, there are some relative `..../opt/....`
symlinks that haven't been fixed by the current build recipe.
This fact got uncovered by the new `no-broken-symlinks`
hook in aa1405b .
The commit at hand updates and shortens the symlink fixup
code such that it blanketly fixes all `...../opt/....` symlinks
by removing one `../` directory level for each target.1 parent a79cfe0 commit 9d04988
1 file changed
+3
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
| 134 | + | |
136 | 135 | | |
137 | | - | |
| 136 | + | |
138 | 137 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 138 | + | |
150 | 139 | | |
151 | 140 | | |
152 | 141 | | |
| |||
0 commit comments