mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2025-02-25 13:01:11 +00:00
Don't set PATH to include chocpkg directory.
Now that the chocurl command has been removed this is no longer necessary.
This commit is contained in:
parent
5f8a01fc14
commit
aa787ca24d
1 changed files with 7 additions and 3 deletions
|
@ -33,7 +33,6 @@ END
|
||||||
basic_setup() {
|
basic_setup() {
|
||||||
if [ -z "${CHOCPKG_ROOT:-}" ]; then
|
if [ -z "${CHOCPKG_ROOT:-}" ]; then
|
||||||
set_chocpkg_root
|
set_chocpkg_root
|
||||||
PATH="$CHOCPKG_ROOT/chocpkg:$PATH"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PACKAGES_DIR="$CHOCPKG_ROOT/packages"
|
PACKAGES_DIR="$CHOCPKG_ROOT/packages"
|
||||||
|
@ -49,8 +48,8 @@ basic_setup() {
|
||||||
|
|
||||||
basic_setup
|
basic_setup
|
||||||
|
|
||||||
. chocpkg_functions.sh
|
. "$CHOCPKG_ROOT/chocpkg/chocpkg_functions.sh"
|
||||||
. chocpkg_modules.sh
|
. "$CHOCPKG_ROOT/chocpkg/chocpkg_modules.sh"
|
||||||
. "$CHOCPKG_ROOT/buildenv.sh"
|
. "$CHOCPKG_ROOT/buildenv.sh"
|
||||||
|
|
||||||
description() {
|
description() {
|
||||||
|
@ -214,6 +213,11 @@ setup_build_environment() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Recursive function that wraps the main script.
|
||||||
|
chocpkg() {
|
||||||
|
"$0" "$@"
|
||||||
|
}
|
||||||
|
|
||||||
install_dependencies() {
|
install_dependencies() {
|
||||||
local i
|
local i
|
||||||
for i in "${!DEPENDENCIES[@]}"; do
|
for i in "${!DEPENDENCIES[@]}"; do
|
||||||
|
|
Loading…
Reference in a new issue