]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/root-hints.inc: improve regeneration safeguards
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 22 Nov 2016 15:13:17 +0000 (16:13 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 22 Nov 2016 15:13:17 +0000 (16:13 +0100)
commit0222ae494e797711f983b409126c708f32949a50
treeb85ca92187c5e4e59129618cfbd68774a127d8db
parent00c67c1463980c227cb684889e5d363cce4c4526
lib/root-hints.inc: improve regeneration safeguards

- Drop all make dependencies, so it's only generated when the file
  goes missing (i.e. was explicitly deleted).
- Add checks into the generator to avoid producing empty strings on
  failures.  It compiled correctly and wasn't easy to debug.
lib/lib.mk
scripts/gen-root-hints.sh