build-support: update addBinToPathHook, use postHooks

This commit is contained in:
Pol Dellaiera
2025-02-02 21:32:13 +01:00
parent 16c23be685
commit 3a28ae97ed

View File

@@ -9,5 +9,4 @@ addBinToPath () {
export PATH
}
# shellcheck disable=SC2154
addEnvHooks "$targetOffset" addBinToPath
postHooks+=(addBinToPath)