Patchwork ipset: fix syntax error in bash completion and hyphen used as minus sign in manpage

login
register
mail settings
Submitter Neutron Soutmun
Date May 11, 2013, 2:12 a.m.
Message ID <CAMQP0snoKuGx=6qO8PEZ1BQ7F6stgwC9RHrtz0RVmwGiLxWYsQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/243106/
State Not Applicable
Headers show

Comments

Neutron Soutmun - May 11, 2013, 2:12 a.m.
I forgot one thing,

Debian lintian still warns about syntax error unless set the #!/usr/bin/env
bash

commit cf145e19be6d27cb212f95ad6f384f
d3fad7bc6b

---
 utils/ipset_bash_completion/ipset_bash_completion | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/utils/ipset_bash_completion/ipset_bash_completion
b/utils/ipset_bash_completion/ipset_bash_completion
index 69ba635..8a0b91d 100644
--- a/utils/ipset_bash_completion/ipset_bash_completion
+++ b/utils/ipset_bash_completion/ipset_bash_completion
@@ -1,4 +1,4 @@ 
-#!/bin/bash
+#!/usr/bin/env bash

# -----------------------------------------------------------------
# Programmable completion code for ipset (netfilter.org)