From 81ff4413bd483e83a0b16dca7f9ab2191f609aa7 Mon Sep 17 00:00:00 2001 From: Elliott Mitchell Date: Thu, 16 Jul 2020 23:37:42 -0700 Subject: [PATCH] d/shuffle-binaries: Switch to POSIX shell, instead of Bash While bash is great for an interactive shell, sh is more lightweight and portable and is more suited for scripts that need to be executed fast and do not require user-friendly interaction with an end user. Drop pipefail, since it has less value now that the inner loop of the script has been simplified. Signed-off-by: Elliott Mitchell Acked-by: Hans van Kranenburg [Hans van Kranenburg] Reduce usage of dramatic language in commit message --- debian/shuffle-binaries | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/shuffle-binaries b/debian/shuffle-binaries index f50ffd2d75..d49bc7469c 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 -- 2.30.2