Include options for commands, where required

Put back uname - it is currently used before the variable is set up
This commit is contained in:
Phil Whineray 2015-10-25 08:46:19 +00:00
parent ab2259f49b
commit 8ef0c9a984

@ -906,7 +906,7 @@ which_cmd() {
fi
shift
eval $name="'${cmd}'"
eval $name="'${cmd} ${@}'"
return 0
}
@ -10046,7 +10046,7 @@ kernel_maj_min() {
kmaj=$1
kmin=$2
set -- $($UNAME_CMD -r)
set -- $(uname -r)
eval $kmaj=\$1 $kmin=\$2
}
kernel_maj_min KERNELMAJ KERNELMIN