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/ssh-copy-id-portable.patch | |
parent | c0aae8eba3fb52a3fa87208d0066f2b8d7eca8b2 (diff) |
Fix non-portable shell in ssh-copy-id (closes: #711162).
Diffstat (limited to 'debian/patches/ssh-copy-id-portable.patch')
-rw-r--r-- | debian/patches/ssh-copy-id-portable.patch | 20 |
1 files changed, 20 insertions, 0 deletions
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 | ||