Skip to content

Commit

Permalink
Now 'make build' makes bin/ucsf-vpn read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Jun 26, 2024
1 parent 1081ad0 commit 4cac9aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ PID
www
YubiKey
reconnection
io
ipinfo
nameserver
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 4cac9aa

Please sign in to comment.