From fd1bab80e5f9e514facce49c1a462c04ed9df991 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 17 Jun 2016 14:32:25 +0200 Subject: fix bus name generation --- name.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'name.sh') diff --git a/name.sh b/name.sh index 288ea8f..f75e2af 100755 --- a/name.sh +++ b/name.sh @@ -1,7 +1,7 @@ #!/bin/sh TYPE="$1" -if test -f "/usr/include/linux/input-event-codes.h"; then +if test -f "/usr/include/linux/input-event-codes.h" -a "$TYPE" != "BUS"; then INPUT="/usr/include/linux/input-event-codes.h" else INPUT="/usr/include/linux/input.h" -- cgit