🧑‍💻 Improve shebang compatibility (#1180)

Signed-off-by: Muhammed Hussain Karimi <info@karimi.dev>
This commit is contained in:
Muhammed Hussain Karimi
2025-12-18 15:43:24 +03:30
committed by GitHub
parent 443947e1ac
commit 46557cddd1
23 changed files with 27 additions and 21 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use flake

1
.gitignore vendored
View File

@@ -2,6 +2,7 @@
.DS_Store
.idea
.vscode
.direnv/
/test
/logs
/data

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# RustFS Binary Build Script
# This script compiles RustFS binaries for different platforms and architectures

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2024 RustFS Team
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

View File

@@ -1068,7 +1068,7 @@ curl http://localhost:9001/health
#### Docker Migration Example
```bash
#!/bin/bash
#!/usr/bin/env bash
# migrate-docker.sh
# Stop old container

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# RustFS Docker Quick Start Script
# This script provides easy deployment commands for different scenarios

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# RustFS Enhanced Docker Deployment Examples
# This script demonstrates various deployment scenarios for RustFS with console separation

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# RustFS Enhanced Security Deployment Script
# This script demonstrates production-ready deployment with enhanced security features

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2024 RustFS Team
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2024 RustFS Team
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2024 RustFS Team
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@@ -1,4 +1,5 @@
#!/bin/bash -ex
#!/usr/bin/env bash
set -ex
# Copyright 2024 RustFS Team
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Install flatc 25.9.23 on macOS
set -e

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Install protoc 33.1 on macOS
set -e

View File

@@ -1,4 +1,5 @@
#!/bin/bash -e
#!/usr/bin/env bash
set -e
# Copyright 2024 RustFS Team
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@@ -1,4 +1,6 @@
#!/bin/bash -e
#!/usr/bin/env bash
set -e
# Copyright 2024 RustFS Team
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# E2E Test Runner Script
# Automatically starts RustFS instance, runs tests, and cleans up

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Scanner performance benchmark runner
# Usage: ./scripts/run_scanner_benchmarks.sh [test_type] [quick]

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Setup test binaries for Docker build testing
# This script creates temporary binary files for testing Docker build process

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2024 RustFS Team
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Delete all directories ending with __XLDIR__ in the specified path

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Simple version: Delete all directories ending with __XLDIR__ in the specified path