diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2018-09-06 15:50:59 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2018-10-04 14:39:27 +0100 |
commit | 99c3540dd4a066d0295a9a1aa8d4a49d85ab5178 (patch) | |
tree | 12a421b37ab1416e5bce3ead841a24034a1fd10c /radeon | |
parent | 660643e498f6c084ac488f95c4392d02dde48a98 (diff) | |
download | libdrm-99c3540dd4a066d0295a9a1aa8d4a49d85ab5178.tar.gz libdrm-99c3540dd4a066d0295a9a1aa8d4a49d85ab5178.tar.bz2 libdrm-99c3540dd4a066d0295a9a1aa8d4a49d85ab5178.zip |
*-symbols-check: error out when using unset variables
It will make bugs like the one fixed with previous patch dead obvious.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Diffstat (limited to 'radeon')
-rwxr-xr-x | radeon/radeon-symbol-check | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/radeon/radeon-symbol-check b/radeon/radeon-symbol-check index 7d79d901..da605bb8 100755 --- a/radeon/radeon-symbol-check +++ b/radeon/radeon-symbol-check @@ -1,5 +1,7 @@ #!/bin/bash +set -u + # The following symbols (past the first five) are taken from the public headers. # A list of the latter should be available Makefile.sources/LIBDRM_RADEON_H_FILES |