diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2012-03-05 15:12:45 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2012-03-05 15:12:45 +0000 |
commit | 95db4b27485223ccbb3f02494c9da4263e0cef39 (patch) | |
tree | 3ca4d2bee6e80f5fa53d15337bf2856c523ef91b | |
parent | 141358d94834e0659fe1d602bc718cedf9a2ca0a (diff) | |
download | spec-helper-95db4b27485223ccbb3f02494c9da4263e0cef39.tar spec-helper-95db4b27485223ccbb3f02494c9da4263e0cef39.tar.gz spec-helper-95db4b27485223ccbb3f02494c9da4263e0cef39.tar.bz2 spec-helper-95db4b27485223ccbb3f02494c9da4263e0cef39.tar.xz spec-helper-95db4b27485223ccbb3f02494c9da4263e0cef39.zip |
prevent waiting for non existing files if files contains space or dash (patch from dams)
-rwxr-xr-x | check_elf_files | 2 |
1 files changed, 1 insertions, 1 deletions
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, |