Bug#924407: filenames can be treated as arguments when running `file`
Nathan Rennie-Waldock
nathan.renniewaldock at gmail.com
Tue Mar 12 16:38:58 GMT 2019
Package: libfile-stripnondeterminism-perl
Version: 1.1.1-1
Building a package with a file named "-1.png" resulted in:
dh_strip_nondeterminism -O--buildsystem=golang
file: invalid option -- '1'
file: invalid option -- '.'
file: invalid option -- 'g'
Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension]
[--mime-encoding] [--mime-type]
[-e testname] [-F separator] [-f namefile] [-m magicfiles] file ...
file -C [-m magicfiles]
file [--help]
Use of uninitialized value in pattern match (m//) at
/usr/share/perl5/File/StripNondeterminism.pm line 88.
`file` should be ran as `file -- $filename`
More information about the Reproducible-builds
mailing list