d/shuffle-binaries: Switch to POSIX shell, instead of Bash
authorElliott Mitchell <ehem+debian@m5p.com>
Fri, 17 Jul 2020 06:37:42 +0000 (23:37 -0700)
committerHans van Kranenburg <hans@knorrie.org>
Sun, 28 Feb 2021 18:53:12 +0000 (19:53 +0100)
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 <ehem+debian@m5p.com>
Acked-by: Hans van Kranenburg <hans@knorrie.org>
[Hans van Kranenburg]
Reduce usage of dramatic language in commit message

debian/shuffle-binaries

index f50ffd2d7525fdf086c29375705ccf39659c0789..d49bc7469c3f4f3fcbd9ca5a37044ef69f4f5bd0 100755 (executable)
@@ -1,6 +1,5 @@
-#!/bin/bash
+#!/bin/sh
 set -e
-set -o pipefail
 
 version="$1"; shift