Bug fixing

This commit is contained in:
Your Name
2025-05-25 13:27:31 +12:00
parent d6e05ce1e3
commit 4ab9927e21

View File

@@ -70,18 +70,18 @@ if [ ! -z "$1" ]; then
BUILDSTR="$1"
fi
if [ "$BUILDSTR" == "all" || "$BUILDSTR" == "arm64" ]; then
if [ "$BUILDSTR" = "all" ] || [ "$BUILDSTR" = "arm64" ]; then
title "Building linux-arm64 executable"
build linux-arm64 || die "Failed to build linux-arm64 executable"
echo "arm64 executable: ./simple_object_storage-linux-arm64"
fi;
fi
if [ "$BUILDSTR" == "all" || "$BUILDSTR" == "amd64" ]; then
if [ "$BUILDSTR" = "all" ] || [ "$BUILDSTR" = "amd64" ]; then
title "Building linux-x86_64 executable"
build linux-x86_64 || die "Failed to build linux-x86_64 executable"
mv ${EXE_DIR}/simple_object_storage-linux-x86_64 ${EXE_DIR}/simple_object_storage-linux-amd64
echo "amd64 executable: ./simple_object_storage-linux-amd64"
fi;
fi
echo "Build completed successfully!"