adc: make 'help' work when HELP_LIST_DEFAULT is set to 0

Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com>
This commit is contained in:
Stefan Naewe 2012-01-11 17:27:05 +01:00 committed by Sitaram Chamarty
parent c15ceeb3eb
commit a06235e536

View file

@ -4,7 +4,7 @@
# the help adc now takes some options; we need to process them first
[ "$1" = "-list" -o $HELP_LIST_DEFAULT ] && {
[ "$1" = "-list" -o "$HELP_LIST_DEFAULT" = "1" ] && {
# the GL_ADC_PATH directory has files other than ADCs also, notably the
# include file for shell ADCs, and maybe a README or two. Those should be
# chmod -x.