From 609df3e44ea2a4b6114df057d18c116cb9a10cfa Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 5 Jul 2016 12:54:12 +0700 Subject: [PATCH] Update Build Script. Avoid confusion when building with other projects (eg CSB). Signed-off-by: Willy Sudiarto Raharjo --- mate-build-base.sh | 2 +- mate-build-deps.sh | 2 +- mate-build-extra.sh | 2 +- testing/mate-build-testing.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mate-build-base.sh b/mate-build-base.sh index ccd834c..9f27485 100755 --- a/mate-build-base.sh +++ b/mate-build-base.sh @@ -93,7 +93,7 @@ for dir in \ # The real build starts here TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1 if [ "$INST" = "1" ]; then - PACKAGE=$(ls $OUTPUT/${package}-${version}-*-${build}*.txz 2>/dev/null) + PACKAGE=$(ls $OUTPUT/${package}-${version}-*-${build}*msb.txz 2>/dev/null) if [ -f "$PACKAGE" ]; then upgradepkg --install-new --reinstall "$PACKAGE" else diff --git a/mate-build-deps.sh b/mate-build-deps.sh index c8b3d97..73d25e8 100755 --- a/mate-build-deps.sh +++ b/mate-build-deps.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 $OUTPUT/${package}-${version}-*-${build}*.txz 2>/dev/null) + PACKAGE=$(ls $OUTPUT/${package}-${version}-*-${build}*msb.txz 2>/dev/null) if [ -f "$PACKAGE" ]; then upgradepkg --install-new --reinstall "$PACKAGE" else diff --git a/mate-build-extra.sh b/mate-build-extra.sh index 1f6ce11..ca58236 100755 --- a/mate-build-extra.sh +++ b/mate-build-extra.sh @@ -79,7 +79,7 @@ for dir in \ # The real build starts here TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1 if [ "$INST" = "1" ]; then - PACKAGE=$(ls $OUTPUT/${package}-${version}-*-${build}*.txz 2>/dev/null) + PACKAGE=$(ls $OUTPUT/${package}-${version}-*-${build}*msb.txz 2>/dev/null) if [ -f "$PACKAGE" ]; then upgradepkg --install-new --reinstall "$PACKAGE" else diff --git a/testing/mate-build-testing.sh b/testing/mate-build-testing.sh index b584596..9e1b34f 100644 --- a/testing/mate-build-testing.sh +++ b/testing/mate-build-testing.sh @@ -74,7 +74,7 @@ for dir in \ # The real build starts here sh ${package}.SlackBuild || exit 1 if [ "$INST" = "1" ]; then - PACKAGE=`ls $TMP/${package}-${version}-*-${build}*.txz` + PACKAGE=`ls $TMP/${package}-${version}-*-${build}*msb.txz` if [ -f "$PACKAGE" ]; then upgradepkg --install-new --reinstall "$PACKAGE" else