mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
utils: kernel-refresh.sh: Fix sourcing kernel version from config
Off-by-one :(
This commit is contained in:
committed by
Joachim Wiberg
parent
3c75608839
commit
e32334cc4a
@@ -31,7 +31,7 @@ getconfig()
|
||||
grep "$1=" .config | sed -e "s/$1=\"\([^\"]\+\)\"/\1/"
|
||||
}
|
||||
|
||||
if [ $# -lt 2 ]; then
|
||||
if [ $# -lt 1 ]; then
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user