From ee34433cc519df4c6a9b1ef50e5eab6c3ebec795 Mon Sep 17 00:00:00 2001 From: Chris M <821688+tebriel@users.noreply.github.com> Date: Thu, 3 Jul 2025 01:55:55 +0000 Subject: [PATCH] test: fix mpv tests on systems without /bin/bash installed - 4301 (#4302) Not all systems have bash at `/bin/bash`. `/bin/sh` is POSIX and should be present on all systems making this much more portable. No bash features are currently used in the script so this change should be safe. --- core/playback/mpv/mpv_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/playback/mpv/mpv_test.go b/core/playback/mpv/mpv_test.go index 08432bef3..20c02501b 100644 --- a/core/playback/mpv/mpv_test.go +++ b/core/playback/mpv/mpv_test.go @@ -372,7 +372,7 @@ goto loop ` } else { scriptExt = ".sh" - scriptContent = `#!/bin/bash + scriptContent = `#!/bin/sh echo "$0" for arg in "$@"; do echo "$arg"