[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#534580: lintian: false positive in trap bashism check



Package: lintian
Version: 2.2.12
Severity: normal

Hi,

lintian complains about bashisms in some X maintainer scripts, because
they include the following code:

trap "message;\
      message \"Received signal.  Aborting $THIS_PACKAGE package $THIS_SCRIPT script.\";\
      message;\
      exit 1" HUP INT QUIT TERM

This seems to be due to the trap check:
    $LEADIN . qr'trap\s+["\']?.*["\']?\s+.*[1-9]', # trap with signal numbers

Cheers,
Julien



Reply to: