run-upstream-build/main.sh

21 lines
265 B
Bash
Raw Normal View History

2024-07-27 20:12:37 +02:00
#! /bin/bash
set -e
2024-08-07 19:40:56 +02:00
### TEMP UNTIL BUILDER IS ADAPTED
if [[ "$PIKA_BUILD_ARCH" == "i386" ]]
2024-07-31 16:14:33 +02:00
then
2024-08-07 19:40:56 +02:00
export PIKA_BUILD_USE_PBUILDER=1
2024-07-31 16:14:33 +02:00
else
2024-08-07 19:40:56 +02:00
export PIKA_BUILD_USE_PBUILDER=1
2024-07-27 22:28:56 +02:00
fi
2024-08-07 19:40:56 +02:00
###
2024-07-27 22:28:56 +02:00
2024-08-07 19:40:56 +02:00
if [[ "$PIKA_BUILD_USE_PBUILDER" == "1" ]]
2024-07-27 22:28:56 +02:00
then
2024-08-07 19:40:56 +02:00
./pbuilder.sh
else
./native.sh
2024-07-27 22:28:56 +02:00
fi