20 lines
612 B
Bash
20 lines
612 B
Bash
#!/bin/bash
|
|
|
|
platformCount=0
|
|
export platformCount
|
|
|
|
function USBuild () {
|
|
${0%/*}/../build/private/build_ubiservices_internal.command $1 $2 2>&1 | tee -a ${0%/*}/../build/build.$1.out
|
|
platformCount=$((platformCount+1))
|
|
}
|
|
|
|
# USBuild linux
|
|
# USBuild linux server
|
|
|
|
if [ $platformCount -eq 0 ]; then
|
|
echo ##############################################################################
|
|
echo
|
|
echo One platform must be at least targeted. Edit the file ${0%/*}/platformsConfiguration
|
|
echo
|
|
echo ##############################################################################
|
|
fi
|