diff options
author | Colin Watson <cjwatson@debian.org> | 2013-06-05 10:53:11 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2013-06-05 10:53:11 +0100 |
commit | cd39a6faf86c969d04881fc77b8b3e4d15165eb4 (patch) | |
tree | f9f3f5c348467b17b8b9cf37b5d6800339820bc9 /debian/patches | |
parent | c0aae8eba3fb52a3fa87208d0066f2b8d7eca8b2 (diff) |
Fix non-portable shell in ssh-copy-id (closes: #711162).
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/ssh-copy-id-portable.patch | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series index 6f2da2944..6d6020805 100644 --- a/debian/patches/series +++ b/debian/patches/series | |||
@@ -26,6 +26,7 @@ shell-path.patch | |||
26 | dnssec-sshfp.patch | 26 | dnssec-sshfp.patch |
27 | auth-log-verbosity.patch | 27 | auth-log-verbosity.patch |
28 | mention-ssh-keygen-on-keychange.patch | 28 | mention-ssh-keygen-on-keychange.patch |
29 | ssh-copy-id-portable.patch | ||
29 | 30 | ||
30 | # Versioning | 31 | # Versioning |
31 | package-versioning.patch | 32 | package-versioning.patch |
diff --git a/debian/patches/ssh-copy-id-portable.patch b/debian/patches/ssh-copy-id-portable.patch new file mode 100644 index 000000000..9583eab4b --- /dev/null +++ b/debian/patches/ssh-copy-id-portable.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Description: Fix non-portable shell in ssh-copy-id | ||
2 | Author: Colin Watson <cjwatson@debian.org> | ||
3 | Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=2117 | ||
4 | Bug-Debian: http://bugs.debian.org/711162 | ||
5 | Forwarded: https://bugzilla.mindrot.org/show_bug.cgi?id=2117 | ||
6 | Last-Update: 2013-06-05 | ||
7 | |||
8 | Index: b/contrib/ssh-copy-id | ||
9 | =================================================================== | ||
10 | --- a/contrib/ssh-copy-id | ||
11 | +++ b/contrib/ssh-copy-id | ||
12 | @@ -165,7 +165,7 @@ | ||
13 | |||
14 | eval set -- "$SAVEARGS" | ||
15 | |||
16 | -if [ $# == 0 ] ; then | ||
17 | +if [ $# = 0 ] ; then | ||
18 | usage | ||
19 | fi | ||
20 | if [ $# != 1 ] ; then | ||