Skip to content
Snippets Groups Projects
Commit 48b9c119 authored by Philip Hands's avatar Philip Hands Committed by Holger Levsen
Browse files

remove unneeded `head` invocation


Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent aa9a790a
No related branches found
No related tags found
No related merge requests found
......@@ -317,7 +317,7 @@ def kernel(ctx, build, vary):
DROP_ARCH="$DROP_ARCH -e ^$_ARCH_TO_DROP\$"; \
done; \
fi')
_ = _.append_setup_exec_raw('SETARCH_ARCH=$(echo "$SETARCH_ARCH" | grep $DROP_ARCH | shuf | head -n1)')
_ = _.append_setup_exec_raw('SETARCH_ARCH=$(echo "$SETARCH_ARCH" | grep $DROP_ARCH | shuf -n1)')
_ = _.append_setup_exec_raw('KERNEL_VERSION=$(uname -r)')
_ = _.append_setup_exec_raw('if [ ${KERNEL_VERSION#2.6} = $KERNEL_VERSION ]; then SETARCH_OPTS=--uname-2.6; fi')
if ctx.verbosity >= 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment