mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2025-01-13 08:01:08 +01:00
Support alternative path for building.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
bc6408219b
commit
58d863e95c
3 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue