diff --git a/aps b/aps index d7a4466..a7f9ad3 100644 --- a/aps +++ b/aps @@ -16,7 +16,7 @@ run_package_script() { # --- $2 is the package path, and $1 is the script to run if [ -x "${2}/${1}" ]; then echo ":: Running ${1}" cd "${2}" || die "Could not enter package working directory. Exiting..." - "${2}/${1}" "${install_root}" "${2}" + "${2}/${1}" "${2}/payload" "${2}" fi } }