[neomutt-devel] [PATCH] Changed the shebang to '#!/bin/sh' in all keybase's shellscripts. This is more flexible for use in a wider range of distros.

Darshit Shah darnir at gmail.com
Tue Aug 23 14:29:12 CEST 2016


Looks good to me..

* Elimar Riesebieter <riesebie at lxtec.de> [160821 20:18]:
>---
> contrib/keybase/decrypt.sh    | 2 +-
> contrib/keybase/install.sh    | 2 +-
> contrib/keybase/pgpdecrypt.sh | 2 +-
> contrib/keybase/pgpverify.sh  | 2 +-
> contrib/keybase/verify.sh     | 2 +-
> 5 files changed, 5 insertions(+), 5 deletions(-)
>
>Index: neomutt-20160818/contrib/keybase/decrypt.sh
>===================================================================
>--- neomutt-20160818.orig/contrib/keybase/decrypt.sh
>+++ neomutt-20160818/contrib/keybase/decrypt.sh
>@@ -1,2 +1,2 @@
>-#! /usr/bin/bash
>+#!/bin/sh
> sed -n 's/^.*BEGIN KEYBASE/BEGIN KEYBASE/p' | keybase decrypt
>Index: neomutt-20160818/contrib/keybase/install.sh
>===================================================================
>--- neomutt-20160818.orig/contrib/keybase/install.sh
>+++ neomutt-20160818/contrib/keybase/install.sh
>@@ -1,4 +1,4 @@
>-#! /usr/bin/bash
>+#!/bin/sh
>
> # If no directory exists, make it exist.
> if [ -d "$HOME/.mutt/keybaseMutt" ]; then
>Index: neomutt-20160818/contrib/keybase/pgpdecrypt.sh
>===================================================================
>--- neomutt-20160818.orig/contrib/keybase/pgpdecrypt.sh
>+++ neomutt-20160818/contrib/keybase/pgpdecrypt.sh
>@@ -1,3 +1,3 @@
>-#! /usr/bin/bash
>+#!/bin/sh
>
> gawk '/BEGIN/{y=1}y' | keybase pgp decrypt
>Index: neomutt-20160818/contrib/keybase/pgpverify.sh
>===================================================================
>--- neomutt-20160818.orig/contrib/keybase/pgpverify.sh
>+++ neomutt-20160818/contrib/keybase/pgpverify.sh
>@@ -1,2 +1,2 @@
>-#! /usr/bin/bash
>+#!/bin/sh
> gawk '/BEGIN/{y=1}y' | keybase pgp verify
>Index: neomutt-20160818/contrib/keybase/verify.sh
>===================================================================
>--- neomutt-20160818.orig/contrib/keybase/verify.sh
>+++ neomutt-20160818/contrib/keybase/verify.sh
>@@ -1,2 +1,2 @@
>-#! /usr/bin/bash
>+#!/bin/sh
> sed -n 's/^.*BEGIN KEYBASE/BEGIN KEYBASE/p' | keybase verify

-- 
Thanking You,
Darshit Shah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: not available
URL: <http://mailman.neomutt.org/mailman/private/neomutt-devel-neomutt.org/attachments/20160823/22635f6f/attachment.sig>


More information about the neomutt-devel mailing list