[linux-lvm] bashism in tools/Makefile.in

Christian Hesse list at eworm.de
Mon Jan 6 09:48:57 UTC 2020

Hello everybody,

building lvm2 with a shell other than bash fails:

% make -C tools/ command-count.h
make: Entering directory 'lvm2/tools'
    [GEN] cmds.h
/bin/dash: 1: set: Illegal option -o pipefail
    [GEN] command-lines-input.h
/bin/dash: 1: set: Illegal option -o pipefail
    [GEN] command-count.h
/bin/dash: 1: set: Illegal option -o pipefail
make: *** [Makefile:170: command-count.h] Error 2
make: Leaving directory 'lvm2/tools'

Please fix bashism in Makefile. Thanks!
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20200106/b43024c1/attachment.sig>

More information about the linux-lvm mailing list