s|revision|revfile|g
This commit is contained in:
parent
2de42be1ce
commit
c4917b5c29
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ defaultbranch="hardenedbsd/main"
|
|||
gitdir="/home/_portzap/ports"
|
||||
giturl="${PORTZAP_GITURL:-https://git.hardenedbsd.org/hardenedbsd/ports.git}"
|
||||
installdir="${PORTZAP_INSTALLDIR:-/usr/ports}"
|
||||
revision="${installdir}"/.portzap
|
||||
revfile="${installdir}"/.portzap
|
||||
libexec=$(realpath "$(dirname "$0")")/../libexec/portzap
|
||||
|
||||
##
|
||||
|
@ -59,7 +59,7 @@ case $1 in
|
|||
;;
|
||||
"install")
|
||||
require_dependency "git doas"
|
||||
"${libexec}"/commands/portzap-install "${gitdir}" "${installdir}" "${revision}"
|
||||
"${libexec}"/commands/portzap-install "${gitdir}" "${installdir}" "${revfile}"
|
||||
;;
|
||||
*)
|
||||
printf "Usage: portzap COMMAND [OPTIONS]\n"
|
||||
|
|
Loading…
Reference in a new issue