n2n/scripts
Hamish Coleman e7ad089d24
Change when version.sh chooses a fallback vresion (#896)
We aim to always build with the full version number from the git
checkout, however if the current build is not being made from a git
repository, we need to fallback to using the version number from
the "VERSION" file.

This patch changes the choice of the fallback path from just assuming
that any git repo is our git repo to explicitly looking for a `.git` dir
in the top of our checkout.

Some integrated build systems end up doing a tar extract of the n2n
source code inside their build-system git repo, and the old fallback
check was failing in that case.

We still need to identify these build systems and work out a way to
provide them with the full and correct version number for their build,
but this patch should make things more reliable until then.
2021-11-09 13:50:06 +00:00
..
munin Add munin monitoring plugin (#892) 2021-11-05 11:14:47 +00:00
hack_fakeautoconf.sh Make all version calculations come from scripts/version.sh and remove resulting redundant substitutions 2021-11-01 19:15:23 +00:00
indent.sh Basic C Code lint checker and shell checker (#859) 2021-10-24 01:21:18 +05:45
n2n-ctl Add a sort option to the CLI n2n-ctl tool 2021-11-05 09:33:34 +00:00
n2n-gateway.sh Rename scripts for better consistancy (#866) 2021-10-24 03:58:01 +05:45
n2n-httpd fixed python JSON clients so they don't hang if the daemon does not respond (or is not even running) (#876) 2021-10-25 18:36:47 +05:45
README.md Basic C Code lint checker and shell checker (#859) 2021-10-24 01:21:18 +05:45
test_harness.sh Basic C Code lint checker and shell checker (#859) 2021-10-24 01:21:18 +05:45
version.sh Change when version.sh chooses a fallback vresion (#896) 2021-11-09 13:50:06 +00:00

This directory contains executables that are not compiled. Some of these may end up installed for use by end users, but many of them are for use during development, builds and tests.

Nothing in this directory should need compiling to use and they should be written such that they do not need configuring (e.g: they might probe several directories for their requirements)

See the Scripts Documentation for further details