From 4cac9aa7eb99761bf42a07d9a16386398ad19efe Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Wed, 26 Jun 2024 09:41:00 +0200 Subject: [PATCH] Now 'make build' makes bin/ucsf-vpn read-only --- WORDLIST | 3 +++ build.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/WORDLIST b/WORDLIST index 3fe1f1d..48416d7 100644 --- a/WORDLIST +++ b/WORDLIST @@ -33,3 +33,6 @@ PID www YubiKey reconnection +io +ipinfo +nameserver diff --git a/build.sh b/build.sh index 498b91b..f3f2f12 100755 --- a/build.sh +++ b/build.sh @@ -26,8 +26,9 @@ grep -q -F 'source "${incl}/' "${tmpl}" fi done < "${tmpl}" } > "${target}.tmp" +chmod ugo-w "${target}.tmp" chmod ugo+x "${target}.tmp" -mv "${target}.tmp" "${target}" +mv -f "${target}.tmp" "${target}" ls -l "${target}" echo "Version built: $(bash "${target}" --version)"