diff --git a/mate-build-deps.sh b/mate-build-deps.sh index 391df09..4b8be20 100755 --- a/mate-build-deps.sh +++ b/mate-build-deps.sh @@ -83,7 +83,7 @@ for dir in \ # The real build starts here TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1 if [ "$INST" = "1" ]; then - PACKAGE=$(ls $TMP/${package}-${version}-*-${build}*.txz 2>/dev/null) + PACKAGE=$(ls $OUTPUT/${package}-${version}-*-${build}*.txz 2>/dev/null) if [ -f "$PACKAGE" ]; then upgradepkg --install-new --reinstall "$PACKAGE" else