mirror of
https://github.com/rustfs/rustfs.git
synced 2026-03-17 14:24:08 +00:00
🧑💻 Improve shebang compatibility (#1180)
Signed-off-by: Muhammed Hussain Karimi <info@karimi.dev>
This commit is contained in:
committed by
GitHub
parent
443947e1ac
commit
46557cddd1
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,6 +2,7 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
|
.direnv/
|
||||||
/test
|
/test
|
||||||
/logs
|
/logs
|
||||||
/data
|
/data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# RustFS Binary Build Script
|
# RustFS Binary Build Script
|
||||||
# This script compiles RustFS binaries for different platforms and architectures
|
# This script compiles RustFS binaries for different platforms and architectures
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Copyright 2024 RustFS Team
|
# Copyright 2024 RustFS Team
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|||||||
@@ -1068,7 +1068,7 @@ curl http://localhost:9001/health
|
|||||||
#### Docker Migration Example
|
#### Docker Migration Example
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# migrate-docker.sh
|
# migrate-docker.sh
|
||||||
|
|
||||||
# Stop old container
|
# Stop old container
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# RustFS Docker Quick Start Script
|
# RustFS Docker Quick Start Script
|
||||||
# This script provides easy deployment commands for different scenarios
|
# This script provides easy deployment commands for different scenarios
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# RustFS Enhanced Docker Deployment Examples
|
# RustFS Enhanced Docker Deployment Examples
|
||||||
# This script demonstrates various deployment scenarios for RustFS with console separation
|
# This script demonstrates various deployment scenarios for RustFS with console separation
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# RustFS Enhanced Security Deployment Script
|
# RustFS Enhanced Security Deployment Script
|
||||||
# This script demonstrates production-ready deployment with enhanced security features
|
# This script demonstrates production-ready deployment with enhanced security features
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Copyright 2024 RustFS Team
|
# Copyright 2024 RustFS Team
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Copyright 2024 RustFS Team
|
# Copyright 2024 RustFS Team
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Copyright 2024 RustFS Team
|
# Copyright 2024 RustFS Team
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash -ex
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
# Copyright 2024 RustFS Team
|
# Copyright 2024 RustFS Team
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Install flatc 25.9.23 on macOS
|
# Install flatc 25.9.23 on macOS
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Install protoc 33.1 on macOS
|
# Install protoc 33.1 on macOS
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash -e
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
# Copyright 2024 RustFS Team
|
# Copyright 2024 RustFS Team
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash -e
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
# Copyright 2024 RustFS Team
|
# Copyright 2024 RustFS Team
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# E2E Test Runner Script
|
# E2E Test Runner Script
|
||||||
# Automatically starts RustFS instance, runs tests, and cleans up
|
# Automatically starts RustFS instance, runs tests, and cleans up
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Scanner performance benchmark runner
|
# Scanner performance benchmark runner
|
||||||
# Usage: ./scripts/run_scanner_benchmarks.sh [test_type] [quick]
|
# Usage: ./scripts/run_scanner_benchmarks.sh [test_type] [quick]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Setup test binaries for Docker build testing
|
# Setup test binaries for Docker build testing
|
||||||
# This script creates temporary binary files for testing Docker build process
|
# This script creates temporary binary files for testing Docker build process
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Copyright 2024 RustFS Team
|
# Copyright 2024 RustFS Team
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Delete all directories ending with __XLDIR__ in the specified path
|
# Delete all directories ending with __XLDIR__ in the specified path
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Simple version: Delete all directories ending with __XLDIR__ in the specified path
|
# Simple version: Delete all directories ending with __XLDIR__ in the specified path
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user