[Pkg-xen-devel] [PATCH 07/19] d/shuffle-binaries: Switch to POSIX shell, instead of Bash
Hans van Kranenburg
hans at knorrie.org
Fri Dec 4 21:13:35 GMT 2020
On 7/17/20 8:37 AM, Elliott Mitchell wrote:
> While bash is great for an interactive shell, it is poor for scripting
> use. Loading many libraries means large overhead. Plus its command
> parser has to be slow to be user-friendly, instead of fast for scripts.
> While pipefail is useful for reliability, with the inner loop
> dramatically simplified it now has minimal value.
>
> Signed-off-by: Elliott Mitchell <ehem+debian at m5p.com>
> ---
> debian/shuffle-binaries | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/debian/shuffle-binaries b/debian/shuffle-binaries
> index 03b4bc4794..19467d6496 100755
> --- a/debian/shuffle-binaries
> +++ b/debian/shuffle-binaries
> @@ -1,6 +1,5 @@
> -#!/bin/bash
> +#!/bin/sh
> set -e
> -set -o pipefail
>
> version="$1"; shift
This one depends on 06 being applied.
"Now that we have X, we can do Y."
So, skipping for now.
K
More information about the Pkg-xen-devel
mailing list