mirror of
https://github.com/shijimasoft/cia-unix.git
synced 2025-06-18 06:15:32 -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]}")
|
||||
BOLD=$(tput bold)
|
||||
|
Loading…
Reference in New Issue
Block a user