mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-10 07:11:39 +00:00
Set up build environment before install step.
This call sets various environment variables (including PATH) before install; it's important this happens here as well as for build, because the install step may require tools installed in the install.native directory.
This commit is contained in:
parent
bd39ce52f6
commit
f8ff071967
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ chocpkg::commands::hook_installed() {
|
|||
|
||||
chocpkg::commands::hook_reinstall() {
|
||||
chocpkg build $(chocpkg::commands::full_package_name)
|
||||
chocpkg::environment::setup_build_environment
|
||||
cd "$PACKAGE_BUILD_DIR"
|
||||
do_install
|
||||
if ! chocpkg installed $(chocpkg::commands::full_package_name); then
|
||||
|
|
Loading…
Reference in a new issue