Skip to content

Commit c81a265

Browse files
committed
Attempt to fix "Attempt to invoke complex command with simple command
form." error * i tried to amend this command to use the complex syntax similar to how I saw the complex commands being written in other places but I think I need help with the syntax
1 parent 23fa989 commit c81a265

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

share/github-backup-utils/ghe-backup-settings

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ backup-secret "kredz.varz HMAC key" "kredz-varz-hmac" "secrets.kredz.varz-hmac-s
8383
# this is for forwards compatibility with GHES 3.8.0 onwards
8484
if [ "$(version $GHE_REMOTE_VERSION)" -ge "$(version 3.7.0)" ]; then
8585
backup-secret "encrypted column encryption keying material" "encrypted-column-encryption-keying-material" "secrets.github.encrypted-column-keying-material"
86-
ghe-ssh "$host" -- ghe-config 'secrets.github.encrypted-column-keying-material' | sed 's:.*;::' > encrypted-column-current-encryption-key
86+
echo "ghe-config 'secrets.github.encrypted-column-keying-material' | sed 's:.*;::' > encrypted-column-current-encryption-key" |
87+
ghe-ssh "$host" /bin/bash
8788
fi
8889

8990
backup-secret "secret scanning encrypted secrets current storage key" "secret-scanning-encrypted-secrets-current-storage-key" "secrets.secret-scanning.encrypted-secrets-current-storage-key"

0 commit comments

Comments
 (0)