Fix output path

This commit is contained in:
Willy Sudiarto Raharjo 2016-03-30 15:31:34 +07:00
parent 58d863e95c
commit d67b7b57a0

View file

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