[object Object]

← back to Exo

- Use `#!/usr/bin/env bash` instead of `#!/bin/bash` for better portability

cde912deef16edacbcb1d6270bdd4c67cf344dce · 2024-12-22 01:14:54 -0500 · DeftDawg

Files touched

Diff

commit cde912deef16edacbcb1d6270bdd4c67cf344dce
Author: DeftDawg <deftdawg@gmail.com>
Date:   Sun Dec 22 01:14:54 2024 -0500

    - Use `#!/usr/bin/env bash` instead of `#!/bin/bash` for better portability
---
 configure_mlx.sh        | 2 +-
 install.sh              | 2 +-
 scripts/compile_grpc.sh | 2 +-
 test/reconnect.sh       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure_mlx.sh b/configure_mlx.sh
index 8a5b6737..2b391cee 100755
--- a/configure_mlx.sh
+++ b/configure_mlx.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Get the total memory in MB
 TOTAL_MEM_MB=$(($(sysctl -n hw.memsize) / 1024 / 1024))
diff --git a/install.sh b/install.sh
index f136c317..a5fffec6 100755
--- a/install.sh
+++ b/install.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 if command -v python3.12 &>/dev/null; then
     echo "Python 3.12 is installed, proceeding with python3.12..."
diff --git a/scripts/compile_grpc.sh b/scripts/compile_grpc.sh
index b9b87204..b0333bb5 100755
--- a/scripts/compile_grpc.sh
+++ b/scripts/compile_grpc.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 source ./install.sh
 pushd exo/networking/grpc
 python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto
diff --git a/test/reconnect.sh b/test/reconnect.sh
index 7921d4e7..1e9a2add 100755
--- a/test/reconnect.sh
+++ b/test/reconnect.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 echo "Starting node 1"
 DEBUG_DISCOVERY=7 DEBUG=7 python3 main.py --node-id "node1" --listen-port 5678 --broadcast-port 5679 --chatgpt-api-port 52415 --chatgpt-api-response-timeout 900 > output1.log 2>&1 &

← 154e0f58 Implement suggestiond  ·  back to Exo  ·  add qwen-2.5-1.5b, qwen-2.5-3b, qwen-2.5-32b c609c05e →