From 76e71251495b445f14c9819bc9d75ef423560d70 Mon Sep 17 00:00:00 2001 From: hippoz Date: Sat, 16 Jan 2021 16:54:50 +0200 Subject: [PATCH] pass package path as argument for package scripts --- aps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aps.sh b/aps.sh index 8e61e56..f746305 100755 --- a/aps.sh +++ b/aps.sh @@ -77,7 +77,7 @@ add_package_to_database() { run_package_script() { if [ -x "${AL_PKG_PACKAGE_PATH}/${1}" ]; then echo ":: Running ${1} script for target ${AL_PKG_NAME}..." - . "${AL_PKG_PACKAGE_PATH}/${1}" ${AL_INSTALL_ROOT} + . "${AL_PKG_PACKAGE_PATH}/${1}" ${AL_INSTALL_ROOT} ${AL_PKG_PACKAGE_PATH} fi }