Apply patterns consistently

This commit is contained in:
0x1eef 2024-06-01 05:29:15 -03:00
parent fca5d70228
commit b02c61fd8c
5 changed files with 12 additions and 12 deletions

View file

@ -5,8 +5,8 @@ set -e
# variables
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../../..)}
libexec="${localbase}"/libexec/portzap
gitdir="$1"
branch="$2"
gitdir=$1
branch=$2
##
# functions
@ -16,11 +16,11 @@ gitexec()
}
printok() {
"${libexec}"/utils/printok "$1"
"${libexec}"/utils/printok "${1}"
}
printerr() {
"${libexec}"/utils/printerr "$1"
"${libexec}"/utils/printerr "${1}"
}
##

View file

@ -17,11 +17,11 @@ gitexec()
}
printok() {
"${libexec}"/utils/printok "$1"
"${libexec}"/utils/printok "${1}"
}
printerr() {
"${libexec}"/utils/printerr "$1"
"${libexec}"/utils/printerr "${1}"
}
##

View file

@ -55,15 +55,15 @@ perform_install()
run_install()
{
install -o root -g _portzap -m "${mode}" -v "$@"
install -o root -g _portzap -m "${mode}" -v "${@}"
}
printok() {
"${libexec}"/utils/printok "$1"
"${libexec}"/utils/printok "${1}"
}
printerr() {
"${libexec}"/utils/printerr "$1"
"${libexec}"/utils/printerr "${1}"
}
##

View file

@ -15,11 +15,11 @@ gitexec()
}
printok() {
"${libexec}"/utils/printok "$1"
"${libexec}"/utils/printok "${1}"
}
printerr() {
"${libexec}"/utils/printerr "$1"
"${libexec}"/utils/printerr "${1}"
}
##

View file

@ -25,7 +25,7 @@ erase()
}
printerr() {
"${libexec}"/utils/printerr "$1"
"${libexec}"/utils/printerr "${1}"
}
##