Bug fixing

This commit is contained in:
Your Name
2025-05-25 14:36:37 +12:00
parent 7f35bbeb01
commit 8be69f24b6
4 changed files with 7 additions and 18 deletions

View File

@@ -6,7 +6,7 @@ set -e
# DIRECTORIES
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
CACHE_DIR="${SCRIPT_DIR}/cache"
EXE_DIR="${SCRIPT_DIR}/exe"
EXE_DIR="${SCRIPT_DIR}/output"
BUILD_DIR="${SCRIPT_DIR}/build"
# FUNCTIONS
@@ -39,11 +39,11 @@ cd $SCRIPT_DIR
# push the Docker image to the registry
if [ ! -f ${EXE_DIR}/simple_object_storage-linux-amd64 ]; then
die "x86_64 executable not found"
if [ ! -f ${EXE_DIR}/simple_object_storage.amd64 ]; then
die "amd64 executable not found"
fi
if [ ! -f ${EXE_DIR}/simple_object_storage-linux-arm64 ]; then
if [ ! -f ${EXE_DIR}/simple_object_storage.arm64 ]; then
die "arm64 executable not found"
fi