From d67b7b57a0c89130e97d86c4b82e606e8e1a9156 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 30 Mar 2016 15:31:34 +0700 Subject: [PATCH] Fix output path --- mate-build-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mate-build-base.sh b/mate-build-base.sh index 600a5cd..eddb537 100755 --- a/mate-build-base.sh +++ b/mate-build-base.sh @@ -88,7 +88,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