From 9484906dd88b420ba5a905adcd2055a148557c23 Mon Sep 17 00:00:00 2001 From: uzurka Date: Sun, 13 Aug 2023 18:58:27 +0200 Subject: [PATCH] fixed Dockerfile --- platform.sh | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/platform.sh b/platform.sh index 607ef99..635e41f 100644 --- a/platform.sh +++ b/platform.sh @@ -1,19 +1,19 @@ -#!/bin/bash - -# Used in Docker build to set platform dependent variables - -case $TARGETARCH in - - "amd64") - echo "x86_64-unknown-linux-gnu" > /.platform - echo "" > /.compiler - ;; - "arm64") - echo "aarch64-unknown-linux-gnu" > /.platform - echo "gcc-aarch64-linux-gnu" > /.compiler - ;; - "arm") - echo "armv7-unknown-linux-gnueabihf" > /.platform - echo "gcc-arm-linux-gnueabihf" > /.compiler - ;; -esac +#!/bin/bash + +# Used in Docker build to set platform dependent variables + +case $TARGETARCH in + + "amd64") + echo "x86_64-unknown-linux-gnu" > /.platform + echo "" > /.compiler + ;; + "arm64") + echo "aarch64-unknown-linux-gnu" > /.platform + echo "gcc-aarch64-linux-gnu" > /.compiler + ;; + "arm") + echo "armv7-unknown-linux-gnueabihf" > /.platform + echo "gcc-arm-linux-gnueabihf" > /.compiler + ;; +esac