commit d446d3889bcf43437a930409ed91c6a56c865d38 parent 40b877bcd5785b43a6fc0b298a91eb895a583262 Author: Natasha Kerensikova <natgh@instinctive.eu> Date: Sun, 15 Sep 2024 12:44:33 +0000 Utility `cut` is not used anymore Diffstat:
M | src/run.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/run.sh b/src/run.sh @@ -84,8 +84,8 @@ SHOW=text ########### : "${PASHAGE_SRC_DIR:=$(dirname "$0")}" -PLATFORM="$(uname | cut -d _ -f 1 | tr '[:upper:]' '[:lower:]')" -. "${PASHAGE_SRC_DIR}/platform-${PLATFORM}.sh" +PLATFORM="$(uname | tr '[:upper:]' '[:lower:]')" +. "${PASHAGE_SRC_DIR}/platform-${PLATFORM%%_*}.sh" . "${PASHAGE_SRC_DIR}/pashage.sh" ############