mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-27 14:32:14 +00:00
Move prebuild_setup to environment.sh.
This can be overridden by package files so should be defined here.
This commit is contained in:
parent
d4c4acbde0
commit
fad168c090
2 changed files with 6 additions and 6 deletions
|
@ -120,12 +120,6 @@ cmd_fetch() {
|
|||
do_fetch
|
||||
}
|
||||
|
||||
# Function invoked before a package is built to set up the build environment,
|
||||
# if necessary. Can be overridden by pkgdef files.
|
||||
prebuild_setup() {
|
||||
true
|
||||
}
|
||||
|
||||
cmd_build() {
|
||||
install_dependencies
|
||||
chocpkg fetch "$PACKAGE_NAME"
|
||||
|
|
|
@ -148,5 +148,11 @@ setup_build_environment() {
|
|||
fi
|
||||
}
|
||||
|
||||
# Function invoked before a package is built to set up the build environment,
|
||||
# if necessary. Can be overridden by pkgdef files.
|
||||
prebuild_setup() {
|
||||
true
|
||||
}
|
||||
|
||||
load_package_file
|
||||
|
||||
|
|
Loading…
Reference in a new issue