From 5d95e745bc6724080ca38a86981d67211a276b3a Mon Sep 17 00:00:00 2001 From: AbuBakr Date: Sun, 8 Jan 2023 11:55:34 +0530 Subject: [PATCH] Added explicit file ending to sh files --- .gitattributes | 2 ++ proxy/src/generate-certs.sh | 1 + proxy/src/healthcheck.sh | 1 + proxy/src/set_public_ip_and_start.sh | 1 + 4 files changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ffd87d9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Explicitly declare sh files to always be normalized and have LF file endings +*.sh text eol=lf diff --git a/proxy/src/generate-certs.sh b/proxy/src/generate-certs.sh index 22f03b4..513300a 100644 --- a/proxy/src/generate-certs.sh +++ b/proxy/src/generate-certs.sh @@ -93,3 +93,4 @@ cat ${SSL_KEY} > proxy.whatsapp.net.pem cat ${SSL_CERT} >> proxy.whatsapp.net.pem echo "Certificate generation completed." + diff --git a/proxy/src/healthcheck.sh b/proxy/src/healthcheck.sh index 8b19b42..4ecc6d3 100644 --- a/proxy/src/healthcheck.sh +++ b/proxy/src/healthcheck.sh @@ -24,3 +24,4 @@ then fi exit 0; + diff --git a/proxy/src/set_public_ip_and_start.sh b/proxy/src/set_public_ip_and_start.sh index d20a63c..5bca0eb 100644 --- a/proxy/src/set_public_ip_and_start.sh +++ b/proxy/src/set_public_ip_and_start.sh @@ -52,3 +52,4 @@ popd # Start HAProxy haproxy -f "$CONFIG_FILE" +