aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2005-01-07 13:38:14 +0000
committerFrederic Lepied <flepied@mandriva.com>2005-01-07 13:38:14 +0000
commit1328d31d2a44cd921dff23167cc59bcc9ea1699b (patch)
treee0da4ca0b25c07f01dcf87d70a0849116a2fcf6c
parent01a7976ede10fc2fe40e9dae50221a4f5ebc0c38 (diff)
downloadspec-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 -
-rwxr-xr-xstrip_files2
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() {