diff --git a/aps b/aps index 42918d3..8bc1ca3 100644 --- a/aps +++ b/aps @@ -17,7 +17,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 } }