Bug fixing
This commit is contained in:
8
build.sh
8
build.sh
@@ -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!"
|
||||
|
||||
|
Reference in New Issue
Block a user