summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-06-05 10:53:11 +0100
committerColin Watson <cjwatson@debian.org>2013-06-05 10:53:11 +0100
commitcd39a6faf86c969d04881fc77b8b3e4d15165eb4 (patch)
treef9f3f5c348467b17b8b9cf37b5d6800339820bc9 /debian/patches
parentc0aae8eba3fb52a3fa87208d0066f2b8d7eca8b2 (diff)
Fix non-portable shell in ssh-copy-id (closes: #711162).
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/ssh-copy-id-portable.patch20
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
26dnssec-sshfp.patch 26dnssec-sshfp.patch
27auth-log-verbosity.patch 27auth-log-verbosity.patch
28mention-ssh-keygen-on-keychange.patch 28mention-ssh-keygen-on-keychange.patch
29ssh-copy-id-portable.patch
29 30
30# Versioning 31# Versioning
31package-versioning.patch 32package-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 @@
1Description: Fix non-portable shell in ssh-copy-id
2Author: Colin Watson <cjwatson@debian.org>
3Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=2117
4Bug-Debian: http://bugs.debian.org/711162
5Forwarded: https://bugzilla.mindrot.org/show_bug.cgi?id=2117
6Last-Update: 2013-06-05
7
8Index: 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