Fix output path

This commit is contained in:
Willy Sudiarto Raharjo 2016-03-30 15:32:14 +07:00
parent d67b7b57a0
commit 8556dbf0f2

View file

@ -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