Bug fixing
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user