mirror of
https://github.com/shijimasoft/cia-unix.git
synced 2025-06-18 14:25:34 -04:00
Be flexible regarding bash path in dltools.sh
Bash isn't always at /bin/bash. On nixos, it might be a nix store path. On macOS, users might want to use a more up-to-date version of bash than what ships with the system (bash 3, from 2007). Locate bash from PATH instead.
This commit is contained in:
parent
39b7b43b33
commit
4b5d6b8a0e
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
|
SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
|
||||||
BOLD=$(tput bold)
|
BOLD=$(tput bold)
|
||||||
|
Loading…
Reference in New Issue
Block a user