fish-shell/build_tools
Fabian Homborg 15f1b5f368 Skip building version file if git describe fails the new perm check
git had a CVE related to arbitrary code being run when you run git status and similar, and instead of doing something about those arbitrary code bits they decided to lock it down entirely.

So now git will refuse to do basically anything once it detects the .git directory is owned by someone else.

So, what we do is:

If `git describe` failed with a status of 128, we keep an already
built version file.

This is an awful hack, but should help with the normal `cmake; make; sudo
make install` cycle.

(the only *real* way around this seems to be to not attempt to rebuild
the version file at install time entirely, but I have no idea how to
do that)

Fixes #8973.
2022-05-26 09:35:59 +02:00
..
osx_package_resources welcome.html: Provide fallback font-families as we are unsure 2022-01-28 19:47:58 -08:00
osx_package_scripts Add missing newlines 2022-01-26 13:51:45 -08:00
cppcheck.rules cppcheck: Move config files to build_tools 2020-11-15 11:11:55 +01:00
cppcheck.sh Tell cppcheck we're c++11 2021-09-15 17:49:57 +02:00
cppcheck.suppressions cppcheck: Make less annoying 2020-11-15 12:41:55 +01:00
diff_profiles.fish Use set -l to force use of a local variable 2020-05-15 08:25:07 +02:00
extract_help_sections.fish Add script to extract help sections 2021-08-23 18:01:31 +02:00
find_globals.fish Run fish_indent on all non-test .fish files 2021-11-23 09:49:45 +01:00
find_weak_odrs.py Make find_weak_odrs work with Python 3.6 2021-10-04 19:45:36 -05:00
fish_xgettext.fish build_tools/fish_xgettext.fish: use temporary directory. 2020-11-13 16:29:37 +01:00
git_version_gen.sh Skip building version file if git describe fails the new perm check 2022-05-26 09:35:59 +02:00
iwyu.linux.imp fix random lint issues 2016-05-29 22:24:29 -07:00
iwyu.osx.imp Fix incorrect recommendations by IWYU on macOS 2017-09-09 00:18:05 -07:00
lint.fish lint.fish: properly handle -I and -D args for cppcheck 2020-12-29 16:31:43 +01:00
list_committers_since.fish build_tools/list_committers_since: account for possibility of mktemp 2020-11-14 15:57:42 +01:00
littlecheck.py cmake: Force color in the tests 2021-08-30 17:16:19 +02:00
mac_notarize.sh Add some sleep to mac_notarize.sh 2021-06-29 13:46:08 -07:00
make_pkg.sh .pkg scripts: remove old installs, fix install volume, logging 2022-01-21 14:01:06 -08:00
make_tarball.sh make_tarball: use XZ for compression 2020-02-14 22:00:38 +08:00
osx_distribution.xml Fix welcome text, don't use logger. 2022-01-22 20:06:37 -08:00
pexpect_helper.py Better support for helper functions in pexpect 2022-04-10 12:59:04 -07:00
style.fish build_tools/style.fish: don't format other Python files 2020-12-29 16:31:43 +01:00