blob: 7c3e7750af1f9ccc0bffce329b1bebd7500c2505 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From f7a3292c1c753b29384e216693f51a4213fea7d0 Mon Sep 17 00:00:00 2001
2From: "Bruce A. Johnson" <waterfordtrack@gmail.com>
3Date: Wed, 22 Dec 2021 14:24:02 -0500
4Subject: [PATCH 1/2] core: switch bash shell scripts to use /bin/sh for use
5 w/Busybox.
6
7Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/483
8---
9 data/fcc-unlock/105b | 2 +-
10 data/fcc-unlock/1199 | 2 +-
11 data/fcc-unlock/1eac | 2 +-
12 test/mmcli-test-sms | 2 +-
13 tools/tests/test-wrapper.sh.in | 2 +-
14 5 files changed, 5 insertions(+), 5 deletions(-)
15
16diff --git a/data/fcc-unlock/105b b/data/fcc-unlock/105b
17index 21fe5329..f276050f 100644
18--- a/data/fcc-unlock/105b
19+++ b/data/fcc-unlock/105b
20@@ -1,4 +1,4 @@
21-#!/bin/bash
22+#!/bin/sh
23
24 # SPDX-License-Identifier: CC0-1.0
25 # 2021 Aleksander Morgado <aleksander@aleksander.es>
26diff --git a/data/fcc-unlock/1199 b/data/fcc-unlock/1199
27index 0109c6ab..e1d3804c 100644
28--- a/data/fcc-unlock/1199
29+++ b/data/fcc-unlock/1199
30@@ -1,4 +1,4 @@
31-#!/bin/bash
32+#!/bin/sh
33
34 # SPDX-License-Identifier: CC0-1.0
35 # 2021 Aleksander Morgado <aleksander@aleksander.es>
36diff --git a/data/fcc-unlock/1eac b/data/fcc-unlock/1eac
37index 1068d9c2..d9342852 100644
38--- a/data/fcc-unlock/1eac
39+++ b/data/fcc-unlock/1eac
40@@ -1,4 +1,4 @@
41-#!/bin/bash
42+#!/bin/sh
43
44 # SPDX-License-Identifier: CC0-1.0
45 # 2021 Aleksander Morgado <aleksander@aleksander.es>
46diff --git a/test/mmcli-test-sms b/test/mmcli-test-sms
47index 18e0a7b4..7136ee0d 100755
48--- a/test/mmcli-test-sms
49+++ b/test/mmcli-test-sms
50@@ -1,4 +1,4 @@
51-#!/bin/bash
52+#!/bin/sh
53
54 print_usage () {
55 echo "usage: $0 [MODEM INDEX] [all|ucs2|gsm7|data] [NUMBER]"
56diff --git a/tools/tests/test-wrapper.sh.in b/tools/tests/test-wrapper.sh.in
57index d64ea4cb..fcdb56de 100644
58--- a/tools/tests/test-wrapper.sh.in
59+++ b/tools/tests/test-wrapper.sh.in
60@@ -1,4 +1,4 @@
61-#!/bin/bash
62+#!/bin/sh
63
64 # For debugging behavior of test-modemmanager-service.py, you can modify
65 # this line to add --log-file option
66--
672.34.1
68