projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c0cb8
)
scripts/makeheader: slight simplification
author
Ran Benita
<ran@unusedvar.com>
Thu, 31 Oct 2019 19:21:35 +0000
(21:21 +0200)
committer
Ran Benita
<ran@unusedvar.com>
Thu, 31 Oct 2019 19:21:35 +0000
(21:21 +0200)
Signed-off-by: Ran Benita <ran@unusedvar.com>
scripts/makeheader
patch
|
blob
|
history
diff --git
a/scripts/makeheader
b/scripts/makeheader
index
cfdc684
..
600b565
100755
(executable)
--- a/
scripts/makeheader
+++ b/
scripts/makeheader
@@
-1,13
+1,10
@@
#!/usr/bin/env python
-
from __future__ import print_function
import re
import os
-prefix = os.environ.get('X11_HEADERS_PREFIX')
-if not prefix:
- prefix = '/usr'
+prefix = os.environ.get('X11_HEADERS_PREFIX', '/usr')
HEADERS = [
prefix + '/include/X11/keysymdef.h',
prefix + '/include/X11/XF86keysym.h',