summaryrefslogtreecommitdiff
path: root/radeon
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2018-09-06 15:50:59 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2018-10-04 14:39:27 +0100
commit99c3540dd4a066d0295a9a1aa8d4a49d85ab5178 (patch)
tree12a421b37ab1416e5bce3ead841a24034a1fd10c /radeon
parent660643e498f6c084ac488f95c4392d02dde48a98 (diff)
downloaddrm-99c3540dd4a066d0295a9a1aa8d4a49d85ab5178.tar.gz
*-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-xradeon/radeon-symbol-check2
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