mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
Cleanup and fix process_queue() post-build code.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
This commit is contained in:
parent
af31572a1c
commit
c4310a4c6f
@ -3470,16 +3470,12 @@ process_queue() {
|
||||
NEWPACKAGE=$(ls -1t *.t?z | head -n1)
|
||||
echo " Building package $NEWPACKAGE ... OK" >> $TMPSUMMARYLOG
|
||||
echo "Built package: $NEWPACKAGE"
|
||||
if [[ $QUEUETYPE == "buildinstall" ]]; then
|
||||
if [[ $SB_OUTPUT/*.t?z ]]; then
|
||||
cd $SB_OUTPUT
|
||||
NEWPACKAGE=$(ls -1t *.t?z | head -n1)
|
||||
if [[ -f $NEWPACKAGE ]]; then
|
||||
if [[ $QUEUETYPE == "buildinstall" ]]; then
|
||||
install_package $SB_OUTPUT $NEWPACKAGE
|
||||
echo " Installing package $NEWPACKAGE ... OK" >> $TMPSUMMARYLOG
|
||||
fi
|
||||
fi
|
||||
if [[ $SB_OUTPUT/*.t?z ]]; then
|
||||
mv $SB_OUTPUT/*.t?z $OUTPUT/
|
||||
mv $NEWPACKAGE $OUTPUT
|
||||
fi
|
||||
else
|
||||
echo >> $TMPSUMMARYLOG
|
||||
|
Loading…
Reference in New Issue
Block a user