diff options
author | Frederic Lepied <flepied@mandriva.com> | 2005-01-07 13:38:14 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2005-01-07 13:38:14 +0000 |
commit | 1328d31d2a44cd921dff23167cc59bcc9ea1699b (patch) | |
tree | e0da4ca0b25c07f01dcf87d70a0849116a2fcf6c /strip_files | |
parent | 01a7976ede10fc2fe40e9dae50221a4f5ebc0c38 (diff) | |
download | spec-helper-1328d31d2a44cd921dff23167cc59bcc9ea1699b.tar spec-helper-1328d31d2a44cd921dff23167cc59bcc9ea1699b.tar.gz spec-helper-1328d31d2a44cd921dff23167cc59bcc9ea1699b.tar.bz2 spec-helper-1328d31d2a44cd921dff23167cc59bcc9ea1699b.tar.xz spec-helper-1328d31d2a44cd921dff23167cc59bcc9ea1699b.zip |
handle file names starting with -
Diffstat (limited to 'strip_files')
-rwxr-xr-x | strip_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strip_files b/strip_files index b41a91b..53d87ee 100755 --- a/strip_files +++ b/strip_files @@ -21,7 +21,7 @@ my @exclude_files = (split(' ', $ENV{EXCLUDE_FROM_STRIP}), "/usr/lib/debug"); # TODO: we should write a binding for libfile... sub expensive_test { my ($file) = @_; - my $type = `file $file`; + my $type = `file -- $file`; } sub testfile() { |