mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
Update Build Script.
Avoid confusion when building with other projects (eg CSB). Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
0e8a6cccc1
commit
609df3e44e
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue