summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-05-11 14:45:57 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2009-05-11 14:45:57 +0200
commit27f51fdcc4e6882b0ce53f54740dc913a4c77464 (patch)
tree813fab56777c2b0fae570b7fd59fb6cf633cecd9
parent5d234912d4c0c921ca19785c81adc22893856ff6 (diff)
keymap: fix tests for separate build tree
Fix thinko in keymap/check-keymaps.sh: keys.txt is not in ${srcdir}, but in the build dir. This broke "make check" when using a separate build tree.
-rwxr-xr-xkeymap/check-keymaps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/keymap/check-keymaps.sh b/keymap/check-keymaps.sh
index bb38378..e1e15cc 100755
--- a/keymap/check-keymaps.sh
+++ b/keymap/check-keymaps.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# check that all key names in keymaps/* are known in <linux/input.h>
-KEYLIST=${srcdir:-.}/keys.txt
+KEYLIST=./keys.txt
[ -e "$KEYLIST" ] || {
echo "need $KEYLIST please build first" >&2