]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-checkconfig: Allow to override grep and config
authorGuido Trotter <ultrotter@google.com>
Wed, 18 Mar 2009 17:53:32 +0000 (17:53 +0000)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 19 Mar 2009 15:11:10 +0000 (16:11 +0100)
commitdbdab2ffcb3ff36b34351589a0b0dbbdf700412a
treea17c163f67c61ccf06a49d0108ffd9a8a9af7352
parent84a156421aa2b8e426ee3470f8a4c2e6f14b6e33
lxc-checkconfig: Allow to override grep and config

It might be handy for the user to specify a different kernel config file
to check, perhaps the one of a kernel he's about to build. To allow that
we only set the CONFIG variable if it's not present in the environment
before. Also, if CONFIG is not found and we resort to a different file,
we say it explicitely, to avoid typos on the user's part resulting in
silently checking a different config than the one the user wanted.

Signed-off-by: Guido Trotter <ultrotter@quaqua.net>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-checkconfig.in