Skip to content

Commit cde912d

Browse files
committed
- Use #!/usr/bin/env bash instead of #!/bin/bash for better portability
1 parent cfedcec commit cde912d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

configure_mlx.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Get the total memory in MB
44
TOTAL_MEM_MB=$(($(sysctl -n hw.memsize) / 1024 / 1024))

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
if command -v python3.12 &>/dev/null; then
44
echo "Python 3.12 is installed, proceeding with python3.12..."

scripts/compile_grpc.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
source ./install.sh
33
pushd exo/networking/grpc
44
python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto

test/reconnect.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
echo "Starting node 1"
44
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 &

0 commit comments

Comments
 (0)