From: Martin Pitt Date: Wed, 26 Oct 2011 05:38:06 +0000 (+0200) Subject: check-keymaps.sh: Allow running separately X-Git-Tag: 175~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aa3be179fd7eea792e5dfe71e0b2c9723c8a9b2;p=systemd check-keymaps.sh: Allow running separately Provide default arguments for SRCDIR and KEYLIST, so that you can just run this from the root of the source tree, separately from make distcheck. --- diff --git a/extras/keymap/check-keymaps.sh b/extras/keymap/check-keymaps.sh index c92246a2..df18c3f4 100755 --- a/extras/keymap/check-keymaps.sh +++ b/extras/keymap/check-keymaps.sh @@ -3,8 +3,8 @@ # check that all key names in keymaps/* are known in # and that all key maps listed in the rules are valid and present in # Makefile.am -SRCDIR=$1 -KEYLIST=$2 +SRCDIR=${1:-.} +KEYLIST=${2:-extras/keymap/keys.txt} KEYMAPS_DIR=$SRCDIR/extras/keymap/keymaps #extras/keymap/keymaps RULES=$SRCDIR/extras/keymap/95-keymap.rules