On 2017-01-28 09:48, Stefan Seyfried wrote:
Am 28.01.2017 um 09:46 schrieb Stefan Seyfried:
I don't think $kmpmodules will ever be empty
in this code flow.
I just read up on nullglob and it will indeed be empty, so disregard the
It will be empty in the no-kmps case, but it can expand to several words
in the kmps case, resulting in a syntax error. A more robust check is to
have a function with a loop like
for f in "$builddir"/*-kmp-modules; do
if test -e "$f"; then
... shortcut ...
Also, the "cat |" is unnecessary.
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner(a)opensuse.org