Portability improvements in scripts

* Not all systems have GNU sed, so don't assume `sed -i` works
* Not all systems have /bin/bash, so use `env` to find bash
This commit is contained in:
Dave Vasilevsky
2024-05-12 03:07:04 -04:00
committed by Florian Bach
parent 64aaca3fbe
commit 5a4d25e91d
3 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright (c) 2021-2023 Leseratte10
# This file is part of the ACSM Input Plugin by Leseratte10