From aff9a7e60a518437c6491e033f5301cd5b43ae3f Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Tue, 3 Jan 2012 02:14:37 +0100 Subject: [PATCH] Whoops. Do not attempt to copy files twice --- tools/smartflash/copy-files-ordered | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/smartflash/copy-files-ordered b/tools/smartflash/copy-files-ordered index 0e0ce78..7c8a71c 100755 --- a/tools/smartflash/copy-files-ordered +++ b/tools/smartflash/copy-files-ordered @@ -17,6 +17,7 @@ for (@files){ warn "$_ not found in $src\n"; }else{ push @dwim,$_; + delete $allfiles{$_}; }; };