mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 08:20:59 +02:00
Merge branch 'master' of GNUtoo/lbmk into master
This commit is contained in:
@@ -49,10 +49,14 @@ usage()
|
|||||||
"Prints this help"
|
"Prints this help"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ $# -eq 1 -a "$1" == "--help" ] ; then
|
# In this script, set -u is used to check for undefined variables, and
|
||||||
|
# the test command doesn't do any lazy evaluation, so we can't use
|
||||||
|
# a syntax like that: [ $# -eq 1 -a "$1" == "--help" ].
|
||||||
|
|
||||||
|
if [ $# -eq 1 ] && [ "$1" == "--help" ] ; then
|
||||||
usage
|
usage
|
||||||
exit 0
|
exit 0
|
||||||
elif [ $# -eq 1 -a "$1" == "--list-boards" ] ; then
|
elif [ $# -eq 1 ] && [ "$1" == "--list-boards" ] ; then
|
||||||
list_supported_boards
|
list_supported_boards
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user