all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 32713d43ff32746eff2429263389de978d05b0b5 1070 bytes (raw)
name: gnu/packages/patches/openssh-fix-eof-command-not-found.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
From d9e727dcc04a52caaac87543ea1d230e9e6b5604 Mon Sep 17 00:00:00 2001
From: Oleg <Fallmay@users.noreply.github.com>
Date: Thu, 1 Oct 2020 12:09:08 +0300
Subject: [PATCH] Fix `EOF: command not found` error in ssh-copy-id

---
 contrib/ssh-copy-id | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id
index 392f64f94..a76907717 100644
--- a/contrib/ssh-copy-id
+++ b/contrib/ssh-copy-id
@@ -247,7 +247,7 @@ installkeys_sh() {
   #    the -z `tail ...` checks for a trailing newline. The echo adds one if was missing
   #    the cat adds the keys we're getting via STDIN
   #    and if available restorecon is used to restore the SELinux context
-  INSTALLKEYS_SH=$(tr '\t\n' ' ' <<-EOF)
+  INSTALLKEYS_SH=$(tr '\t\n' ' ' <<-EOF
 	cd;
 	umask 077;
 	mkdir -p $(dirname "${AUTH_KEY_FILE}") &&
@@ -258,6 +258,7 @@ installkeys_sh() {
 	  restorecon -F .ssh ${AUTH_KEY_FILE};
 	fi
 EOF
+  )
 
   # to defend against quirky remote shells: use 'exec sh -c' to get POSIX;
   printf "exec sh -c '%s'" "${INSTALLKEYS_SH}"

debug log:

solving 32713d43ff ...
found 32713d43ff in https://yhetil.org/guix/4868e2cc-3e00-90ee-c3b1-16692d6320a3@gmail.com/

applying [1/1] https://yhetil.org/guix/4868e2cc-3e00-90ee-c3b1-16692d6320a3@gmail.com/
diff --git a/gnu/packages/patches/openssh-fix-eof-command-not-found.patch b/gnu/packages/patches/openssh-fix-eof-command-not-found.patch
new file mode 100644
index 0000000000..32713d43ff

1:26: space before tab in indent.
 	cd;
1:27: space before tab in indent.
 	umask 077;
1:28: space before tab in indent.
 	mkdir -p $(dirname "${AUTH_KEY_FILE}") &&
1:30: space before tab in indent.
 	  restorecon -F .ssh ${AUTH_KEY_FILE};
1:31: space before tab in indent.
 	fi
Checking patch gnu/packages/patches/openssh-fix-eof-command-not-found.patch...
Applied patch gnu/packages/patches/openssh-fix-eof-command-not-found.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 32713d43ff32746eff2429263389de978d05b0b5	gnu/packages/patches/openssh-fix-eof-command-not-found.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.