summary refs log tree commit diff
path: root/mp.sh
diff options
context:
space:
mode:
authorDruid520 <r.ustydruid520@proton.me>2026-08-12 16:30:09 -0700
committerDruid520 <r.ustydruid520@proton.me>2026-08-12 16:30:09 -0700
commitb422f7790bb0f317dcd97ee01f7b1c8dc18ba384 (patch)
tree5b8babdd038162559aa5c98a114402ea490653c7 /mp.sh
parentae8f514185149b40e03b74b587fb84ee426c69eb (diff)
MOD: add oksh instead of dash for bash distros
Diffstat (limited to 'mp.sh')
-rwxr-xr-xmp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mp.sh b/mp.sh index 21db749..add2dbd 100755 --- a/mp.sh +++ b/mp.sh
@@ -22,8 +22,8 @@ ok() {
22 echo "ok: $1" >&2 22 echo "ok: $1" >&2
23} 23}
24 24
25if command -v dash >/dev/null 2>&1; then 25if command -v oksh >/dev/null 2>&1; then
26 alias sh='dash' 26 alias sh='oksh'
27fi 27fi
28if [ -f "$CFG" ]; then 28if [ -f "$CFG" ]; then
29 . "$CFG" 29 . "$CFG"