diff options
author | Mikko Rantalainen <mikko.rantalainen@peda.net> | 2010-05-06 11:26:35 +0300 |
---|---|---|
committer | Mikko Rantalainen <mikko.rantalainen@peda.net> | 2010-05-06 11:30:22 +0300 |
commit | 6c99f719772806ba81a2748fed44098c4b91f28a (patch) | |
tree | 9ad33ac856b4ed1958280ea41d8d30a4179829a8 /debian | |
parent | 26e426cd446067da7ba22eb3307abcf1b98401eb (diff) | |
download | etherpad-6c99f719772806ba81a2748fed44098c4b91f28a.tar.gz etherpad-6c99f719772806ba81a2748fed44098c4b91f28a.tar.xz etherpad-6c99f719772806ba81a2748fed44098c4b91f28a.zip |
Added lintian overrides to silent an invalid error and an invalid warning
The lintian does not correctly detect the magic shell script that is a
scala program in the same time. As a result, lintian will mark this
script as invalid because sh -n reports a parse error. However, this is
not a real parse error, because the script contains unconditional "exit"
before the "error".
The template contains default field for default password which should be
translated. The field contains notes to translators as a comment but
lintian would want to have an extra comment inside the string to translate.
The note as a comment should be enough, make lintian silent about this.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/source/lintian-overrides | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..31f525d --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,8 @@ +# The script infrastructure/ace/bin/serve is really a scala program +# but contains magic to make it as executable shell script (the couple first +# lines in the script will execute scala on itself): +etherpad source: shell-script-fails-syntax-check ./usr/share/etherpad/infrastructure/ace/bin/serve +etherpad binary: shell-script-fails-syntax-check ./usr/share/etherpad/infrastructure/ace/bin/serve +# The template already has a comment for the default field, lintian would +# want to have an extra comment inside the string to translate, I don't agree: +etherpad source: translated-default-field templates: 4 |