Commit 3e1d7e6a141f037448e85d863692c1144a8bfd48

Stephen Kitt 2023-03-10T16:02:28

Specify bash for androidbuildlibs.sh This script relies on string indexes in parameter expansions, which aren't suppored by /bin/sh (e.g. dash). Based on a patch by Roflcopter4: https://github.com/joncampbell123/dosbox-x/pull/3850 Signed-off-by: Stephen Kitt <steve@sk2.org> (cherry picked from commit bbfd5b3fb2eed8f95919febf3bc0fec4bc605cbe)

1
2
3
4
5
6
7
8
9
10
diff --git a/build-scripts/androidbuildlibs.sh b/build-scripts/androidbuildlibs.sh
index dc72172..0ee583a 100755
--- a/build-scripts/androidbuildlibs.sh
+++ b/build-scripts/androidbuildlibs.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Build the Android libraries without needing a project
 # (AndroidManifest.xml, jni/{Application,Android}.mk, etc.)