Set default value for BUILD_ARCH in installation scripts

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
This commit is contained in:
Balasankar "Balu" C 2022-07-06 17:32:23 +05:30
parent fbcb5bfbea
commit f28d358e24
No known key found for this signature in database
GPG key ID: B77D2E2E23735427
9 changed files with 10 additions and 0 deletions

View file

@ -60,6 +60,7 @@ function build_debian() {
}
BUILD_OS=${BUILD_OS:-debian}
BUILD_ARCH=${BUILD_ARCH:-amd64}
if [[ $BUILD_OS =~ debian ]]; then
build_debian "$@"

View file

@ -49,6 +49,7 @@ function build_ubi() {
}
BUILD_OS=${BUILD_OS:-debian}
BUILD_ARCH=${BUILD_ARCH:-amd64}
if [[ $BUILD_OS =~ debian ]]; then
build_debian "$@"

View file

@ -51,6 +51,7 @@ function build_ubi() {
}
BUILD_OS=${BUILD_OS:-debian}
BUILD_ARCH=${BUILD_ARCH:-amd64}
if [[ $BUILD_OS =~ debian ]]; then
build_debian "$@"

View file

@ -40,6 +40,7 @@ function build_ubi() {
BUILD_OS=${BUILD_OS:-debian}
BUILD_ARCH=${BUILD_ARCH:-amd64}
if [[ $BUILD_OS =~ debian ]]; then
build_debian "$@"

View file

@ -53,6 +53,7 @@ function build_ubi() {
}
BUILD_OS=${BUILD_OS:-debian}
BUILD_ARCH=${BUILD_ARCH:-amd64}
if [[ $BUILD_OS =~ debian ]]; then
build_debian "$@"

View file

@ -44,6 +44,7 @@ EOM
}
BUILD_OS=${BUILD_OS:-debian}
BUILD_ARCH=${BUILD_ARCH:-amd64}
if [[ $BUILD_OS =~ debian ]]; then
build_debian "$@"

View file

@ -38,6 +38,7 @@ function build_ubi() {
}
BUILD_OS=${BUILD_OS:-debian}
BUILD_ARCH=${BUILD_ARCH:-amd64}
if [[ $BUILD_OS =~ debian ]]; then
build_debian "$@"

View file

@ -102,6 +102,7 @@ function build_ubi() {
}
BUILD_OS=${BUILD_OS:-debian}
BUILD_ARCH=${BUILD_ARCH:-amd64}
if [[ $BUILD_OS =~ debian ]]; then
build_debian "$@"

View file

@ -57,7 +57,9 @@ function build_debian() {
apt-get clean -yqq
rm -rf /var/lib/apt/lists/*
}
BUILD_OS=${BUILD_OS:-debian}
BUILD_ARCH=${BUILD_ARCH:-amd64}
if [[ $BUILD_OS =~ debian ]]; then
build_debian "$@"