Package: src:xtables-addons
Version: 2.6-1
Severity: normal

Hello,

In debian/rules, echo "\n" is used to generate xtables-addons-dkms.dkms,
but its behavior differs between dash and bash.

This results in an incorrectly formatted dkms.conf:
...
# Automatically generated rules below
BUILT_MODULE_LOCATION[0]=""
\nBUILT_MODULE_NAME[0]="xt_ACCOUNT"
\nDEST_MODULE_LOCATION[0]="/updates"\n
BUILT_MODULE_LOCATION[1]=""
\nBUILT_MODULE_NAME[1]="compat_xtables"
\nDEST_MODULE_LOCATION[1]="/updates"\n
...

bash$ echo "\n"
\n
bash$ 

dash$ echo "\n"


dash$

Set SHELL := /bin/dash will force make to use dash, but use print or
printf might be better.

Regards,
Yixuan

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.7-ckt9 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to