mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-27 14:32:14 +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() {
|
||||
if [ -z "${CHOCPKG_ROOT:-}" ]; then
|
||||
set_chocpkg_root
|
||||
PATH="$CHOCPKG_ROOT/chocpkg:$PATH"
|
||||
fi
|
||||
|
||||
PACKAGES_DIR="$CHOCPKG_ROOT/packages"
|
||||
|
@ -49,8 +48,8 @@ basic_setup() {
|
|||
|
||||
basic_setup
|
||||
|
||||
. chocpkg_functions.sh
|
||||
. chocpkg_modules.sh
|
||||
. "$CHOCPKG_ROOT/chocpkg/chocpkg_functions.sh"
|
||||
. "$CHOCPKG_ROOT/chocpkg/chocpkg_modules.sh"
|
||||
. "$CHOCPKG_ROOT/buildenv.sh"
|
||||
|
||||
description() {
|
||||
|
@ -214,6 +213,11 @@ setup_build_environment() {
|
|||
fi
|
||||
}
|
||||
|
||||
# Recursive function that wraps the main script.
|
||||
chocpkg() {
|
||||
"$0" "$@"
|
||||
}
|
||||
|
||||
install_dependencies() {
|
||||
local i
|
||||
for i in "${!DEPENDENCIES[@]}"; do
|
||||
|
|
Loading…
Reference in a new issue