From: Ulrich Dangel Date: Mon, 20 Sep 2010 13:16:55 +0000 (+0200) Subject: bsd4grml was not copied correctly to the target device. X-Git-Tag: v0.9.28~2 X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=1a5a6cdf81fbd2195b506852f7f52c80e52aecbf bsd4grml was not copied correctly to the target device. This fixes a bug introduced in commit c70267a9. The problem is that the bsd4grml addon is a directory and it needs a trailing slash for copying with rysnc. handle_addon_copy just search for the file and copies it directly to the target device without adding a slash. The current fix is to remove the explicit destination filename in handle_addon_copy. Thanks to Alex Mestiashvili for reporting that bug. --- diff --git a/grml2usb b/grml2usb index 161aae0..092e34d 100755 --- a/grml2usb +++ b/grml2usb @@ -1201,7 +1201,7 @@ def handle_addon_copy(filename, dst, iso_mount): if file_location is None: logging.warn("Warning: %s not found (that's fine if you don't need it)", filename) else: - exec_rsync(file_location, dst + filename) + exec_rsync(file_location, dst) def copy_addons(iso_mount, target):