Package: librdkafka / 2.6.0-1

Metadata

Package Version Patches format
librdkafka 2.6.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
makefile bashism pr4147 | (download)

Makefile | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 [patch] remove small bashism from makefile

The LICENSES.txt target makes a shell for loop, in which it tries to
evaluate the wildcard "LICENSE.*[^~]".

[^] is a bashism, and fails when /bin/sh is not bash (i.e. every
Debian-based system by default):

$ /bin/bash -c "ls LICENSE.*[^~]"
LICENSE.cjson	LICENSE.fnv1a	      LICENSE.lz4      LICENSE.pycrc  LICENSE.regexp  LICENSE.tinycthread
LICENSE.crc32c	LICENSE.hdrhistogram  LICENSE.murmur2  LICENSE.queue  LICENSE.snappy  LICENSE.wingetopt

$ /bin/sh -c "ls LICENSE.*[^~]"
ls: cannot access 'LICENSE.*[^~]': No such file or directory

The equivalent POSIX way to do this is to use [!].

Tested with bash, dash and posh.