Semplificato il recupero delle informazioni di path
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#! /bin/bash --
|
||||
[ ! -z "${GREZZO_1577142105}" ] && return; GREZZO_1577142105=0
|
||||
[ ! -z "${GREZZO_MAIN}" ] && return; GREZZO_MAIN=0
|
||||
|
||||
function this_script_path() {
|
||||
unset CDPATH
|
||||
echo "$(cd "$(dirname "$(readlink -f -- "${BASH_SOURCE[1]}")")" > /dev/null && pwd -P)"
|
||||
}
|
||||
|
||||
function feat_missing() {
|
||||
! command -v "$1" 2>&1 >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user