From 95db4b27485223ccbb3f02494c9da4263e0cef39 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Mon, 5 Mar 2012 15:12:45 +0000 Subject: prevent waiting for non existing files if files contains space or dash (patch from dams) --- check_elf_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_elf_files b/check_elf_files index 78ef70a..9a67fb9 100755 --- a/check_elf_files +++ b/check_elf_files @@ -46,7 +46,7 @@ sub check_missing_or_unused_libs { # TODO: we should write a binding for libfile... sub expensive_test { my ($file) = @_; - my $type = `file -- $file`; + my $type = `file -- "$file"`; } # Check if a file is an elf binary, shared library, or static library, -- cgit v1.2.1