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 &