summaryrefslogtreecommitdiff
path: root/debian/patches/ssh-copy-id-portable.patch
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/ssh-copy-id-portable.patch
parentc0aae8eba3fb52a3fa87208d0066f2b8d7eca8b2 (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.patch20
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 @@
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