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:
Simon Howard 2017-01-07 22:28:37 +01:00
parent 5f8a01fc14
commit aa787ca24d

View file

@ -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