summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:54:34 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:54:34 -0400
commit3ff85c76a6594fae008a548800fd47a126ab6eb5 (patch)
tree593418166ae3aa1075e2b617553741de36559a1c /tools
parent2e2f4ab33afd09e5b4ad3abe75e871cbb21961d4 (diff)
fix includability of headers
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test-header.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-header.sh b/tools/test-header.sh
index b11285af7d..d63177bde0 100755
--- a/tools/test-header.sh
+++ b/tools/test-header.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-gcc -c -o /dev/null -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/libmount $(find src -type d |sed 's|^|-I&|') -include ./config.h -include "$(realpath -- "$1")" test-header.c
+gcc -c -o /dev/null -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/libmount $(find src -type d |sed 's|^|-I&|') -include ./config.h -include "$(realpath -- "$1")" "$(dirname -- "$0")"/test-header.c