diff --git a/mate-build-base.sh b/mate-build-base.sh index 20c18fd..600a5cd 100755 --- a/mate-build-base.sh +++ b/mate-build-base.sh @@ -31,7 +31,8 @@ INST=1 # This is where all the compilation and final results will be placed -TMP=${TMP:-/tmp} +TMP=${TMP:-/tmp/msb} +OUTPUT=${OUTPUT:-/tmp} # This is the original directory where you started this script MSBROOT=$(pwd) @@ -85,7 +86,7 @@ for dir in \ fi # The real build starts here - sh ${package}.SlackBuild || exit 1 + TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1 if [ "$INST" = "1" ]; then PACKAGE=$(ls $TMP/${package}-${version}-*-${build}*.txz 2>/dev/null) if [ -f "$PACKAGE" ]; then diff --git a/mate-build-deps.sh b/mate-build-deps.sh index f85a819..391df09 100755 --- a/mate-build-deps.sh +++ b/mate-build-deps.sh @@ -30,7 +30,8 @@ INST=1 # This is where all the compilation and final results will be placed -TMP=${TMP:-/tmp} +TMP=${TMP:-/tmp/msb} +OUTPUT=${OUTPUT:-/tmp} # This is the original directory where you started this script MSBROOT=$(pwd) @@ -80,7 +81,7 @@ for dir in \ fi # The real build starts here - sh ${package}.SlackBuild || exit 1 + TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1 if [ "$INST" = "1" ]; then PACKAGE=$(ls $TMP/${package}-${version}-*-${build}*.txz 2>/dev/null) if [ -f "$PACKAGE" ]; then diff --git a/mate-build-extra.sh b/mate-build-extra.sh index 9ab5d22..fecf707 100755 --- a/mate-build-extra.sh +++ b/mate-build-extra.sh @@ -31,7 +31,8 @@ INST=1 # This is where all the compilation and final results will be placed -TMP=${TMP:-/tmp} +TMP=${TMP:-/tmp/msb} +OUTPUT=${OUTPUT:-/tmp} # This is the original directory where you started this script MSBROOT=$(pwd) @@ -74,7 +75,7 @@ for dir in \ fi # The real build starts here - sh ${package}.SlackBuild || exit 1 + TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1 if [ "$INST" = "1" ]; then PACKAGE=$(ls $TMP/${package}-${version}-*-${build}*.txz 2>/dev/null) if [ -f "$PACKAGE" ]; then