mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-27 09:58:14 +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
|
# The real build starts here
|
||||||
TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1
|
TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1
|
||||||
if [ "$INST" = "1" ]; then
|
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
|
if [ -f "$PACKAGE" ]; then
|
||||||
upgradepkg --install-new --reinstall "$PACKAGE"
|
upgradepkg --install-new --reinstall "$PACKAGE"
|
||||||
else
|
else
|
||||||
|
|
|
@ -88,7 +88,7 @@ for dir in \
|
||||||
# The real build starts here
|
# The real build starts here
|
||||||
TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1
|
TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1
|
||||||
if [ "$INST" = "1" ]; then
|
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
|
if [ -f "$PACKAGE" ]; then
|
||||||
upgradepkg --install-new --reinstall "$PACKAGE"
|
upgradepkg --install-new --reinstall "$PACKAGE"
|
||||||
else
|
else
|
||||||
|
|
|
@ -79,7 +79,7 @@ for dir in \
|
||||||
# The real build starts here
|
# The real build starts here
|
||||||
TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1
|
TMP=$TMP OUTPUT=$OUTPUT sh ${package}.SlackBuild || exit 1
|
||||||
if [ "$INST" = "1" ]; then
|
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
|
if [ -f "$PACKAGE" ]; then
|
||||||
upgradepkg --install-new --reinstall "$PACKAGE"
|
upgradepkg --install-new --reinstall "$PACKAGE"
|
||||||
else
|
else
|
||||||
|
|
|
@ -74,7 +74,7 @@ for dir in \
|
||||||
# The real build starts here
|
# The real build starts here
|
||||||
sh ${package}.SlackBuild || exit 1
|
sh ${package}.SlackBuild || exit 1
|
||||||
if [ "$INST" = "1" ]; then
|
if [ "$INST" = "1" ]; then
|
||||||
PACKAGE=`ls $TMP/${package}-${version}-*-${build}*.txz`
|
PACKAGE=`ls $TMP/${package}-${version}-*-${build}*msb.txz`
|
||||||
if [ -f "$PACKAGE" ]; then
|
if [ -f "$PACKAGE" ]; then
|
||||||
upgradepkg --install-new --reinstall "$PACKAGE"
|
upgradepkg --install-new --reinstall "$PACKAGE"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue