summaryrefslogtreecommitdiff
path: root/tools/meson-hwdb-update.sh
AgeCommit message (Collapse)Author
2017-04-23meson: use "sh -eu" and make .sh +x, .py -xZbigniew Jędrzejewski-Szmek
Shell scripts should be executable so that meson reports their invocation succinctly (does not print 'sh' '-e'). Python scripts should not be executable so that meson does the detection of the right python binary itself. Add -u everywhere to catch potential errors.
2017-04-23hwdb: use curl instead of wget, and regenerate patch after successful updateZbigniew Jędrzejewski-Szmek
libcurl is already our build dependency, so using curl reduces the deps a bit, and curl also has a more modern codebase. Regenerating the patch makes it more likely that the patch will apply in the future. Also, update URLs which return 302 to the new location. (Patch suggested by Igor Gnatenko.)
2017-04-23meson: add hwdb/update targetZbigniew Jędrzejewski-Szmek