From cd39a6faf86c969d04881fc77b8b3e4d15165eb4 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 5 Jun 2013 10:53:11 +0100 Subject: Fix non-portable shell in ssh-copy-id (closes: #711162). --- debian/patches/series | 1 + debian/patches/ssh-copy-id-portable.patch | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 debian/patches/ssh-copy-id-portable.patch (limited to 'debian/patches') 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 dnssec-sshfp.patch auth-log-verbosity.patch mention-ssh-keygen-on-keychange.patch +ssh-copy-id-portable.patch # Versioning 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 @@ +Description: Fix non-portable shell in ssh-copy-id +Author: Colin Watson +Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=2117 +Bug-Debian: http://bugs.debian.org/711162 +Forwarded: https://bugzilla.mindrot.org/show_bug.cgi?id=2117 +Last-Update: 2013-06-05 + +Index: b/contrib/ssh-copy-id +=================================================================== +--- a/contrib/ssh-copy-id ++++ b/contrib/ssh-copy-id +@@ -165,7 +165,7 @@ + + eval set -- "$SAVEARGS" + +-if [ $# == 0 ] ; then ++if [ $# = 0 ] ; then + usage + fi + if [ $# != 1 ] ; then -- cgit v1.2.3