chiark
/
gitweb
/
~mdw
/
distorted-chroot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
feb9ff8
)
bin/chroot-maint: Update the path correctly when following a symlink.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 19 Apr 2020 17:12:37 +0000
(18:12 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 19 Apr 2020 17:12:37 +0000
(18:12 +0100)
Oops. This was just embarrassing.
bin/chroot-maint
patch
|
blob
|
blame
|
history
diff --git
a/bin/chroot-maint
b/bin/chroot-maint
index 9d2d366053e30fe77f5596a52511cbea9cea77d7..ba6aa50e97ce054daedbdc115e49f868dcfbddba 100755
(executable)
--- a/
bin/chroot-maint
+++ b/
bin/chroot-maint
@@
-2375,7
+2375,7
@@
class CrossToolsJob (BaseJob):
try: dest = dest[:dest.rindex("/")]
except ValueError: dest = ""
if path == "": path = link
- else: path = "%s/%s" % (
path, link
)
+ else: path = "%s/%s" % (
link, path
)
## Work through the shopping list, copying the things it names into the
## cross-tools tree.