From 770c82289f13159361211624829a78fa8d893449 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 19 Apr 2020 18:12:37 +0100 Subject: [PATCH] bin/chroot-maint: Update the path correctly when following a symlink. Oops. This was just embarrassing. --- bin/chroot-maint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/chroot-maint b/bin/chroot-maint index 9d2d366..ba6aa50 100755 --- 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. -- 2.11.0