]> www.infradead.org Git - users/willy/linux.git/commit
scripts/atomic/check-atomics.sh: don't assume that scripts are executable
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Dec 2018 00:14:19 +0000 (11:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Dec 2018 08:29:15 +0000 (19:29 +1100)
commitdf38354323f52324bb014168d9f3825c0e78a56a
treed428b28534c2f9c140e55ef605a08ee2bce2f2e6
parent3b665758b36a7fe38fdcee185fc410766a8fc75a
scripts/atomic/check-atomics.sh: don't assume that scripts are executable

patch(1) doesn't set the x bit on files.  So if someone downloads and
applies patch-4.21.xz, their kernel won't build.  Fix that by executing
/bin/sh.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
scripts/atomic/check-atomics.sh