summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/trees b/script/trees
index 34397edd..98bef371 100755
--- a/script/trees
+++ b/script/trees
@@ -290,7 +290,7 @@ mkpayload_grub()
copy_elf()
{
- [ -z "$listfile" ] && return 0
+ [ -f "$listfile" ] || return 0
while read -r f; do
[ -f "$cdir/$f" ] && x_ cp "$cdir/$f" "$dest_dir"