Add Shebang for tools Script

This commit is contained in:
Zen Wen
2025-08-30 14:26:07 +08:00
parent e1fd28f595
commit e4950bbbe6
3 changed files with 27 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
#/bin/bash #!/bin/bash
repo_url="https://github.com/go-acme/lego" repo_url="https://github.com/go-acme/lego"
@@ -26,3 +26,4 @@ sleep 2
# This is to help go compiler to not load all the lego source file when compile # This is to help go compiler to not load all the lego source file when compile
#rm -rf ./lego/ #rm -rf ./lego/
echo "Config generated" echo "Config generated"

View File

@@ -1,4 +1,4 @@
# /bin/sh #!/bin/sh
# Build the acmedns # Build the acmedns
echo "Building ACMEDNS" echo "Building ACMEDNS"
@@ -8,3 +8,4 @@ cd ../../../
cp ./tools/dns_challenge_update/code-gen/acmedns/acmedns.go ./src/mod/acme/acmedns/acmedns.go cp ./tools/dns_challenge_update/code-gen/acmedns/acmedns.go ./src/mod/acme/acmedns/acmedns.go
cp ./tools/dns_challenge_update/code-gen/acmedns/providers.json ./src/mod/acme/acmedns/providers.json cp ./tools/dns_challenge_update/code-gen/acmedns/providers.json ./src/mod/acme/acmedns/providers.json

View File

@@ -1,4 +1,4 @@
#/bin/bash #!/bin/bash
cd ../src/mod/geodb cd ../src/mod/geodb
@@ -32,3 +32,4 @@ if [ "$failed" = true ]; then
read -p "Press [Ctrl+C] to exit..." input read -p "Press [Ctrl+C] to exit..." input
done done
fi fi