Replace hard-coded references to /usr/local

This commit is contained in:
0x1eef 2024-04-19 05:23:28 -03:00
parent 94500c260c
commit ae5893a685
5 changed files with 8 additions and 5 deletions

View file

@ -52,7 +52,6 @@ while [ "${i}" -le "$#" ]; do
i=$(expr "${i}" + 1);
done
case $1 in
"clone")
require_dependency "git doas"

View file

@ -2,7 +2,8 @@
##
# variables
git=/usr/local/bin/git
localbase=${LOCALBASE:-/usr/local}
git="${localbase}"/bin/git
gitdir=$1
commit=$2

View file

@ -2,7 +2,8 @@
##
# variables
git=/usr/local/bin/git
localbase=${LOCALBASE:-/usr/local}
git="${localbase}"/bin/git
gitdir=$1
commit=$2

View file

@ -2,7 +2,8 @@
##
# variables
git=/usr/local/bin/git
localbase=${LOCALBASE:-/usr/local}
git="${localbase}"/bin/git
giturl=$1
gitdir=$2
branch=$3

View file

@ -2,7 +2,8 @@
##
# variables
git=/usr/local/bin/git
localbase=${LOCALBASE:-/usr/local}
git="${localbase}"/bin/git
gitdir=$1
branch=$2