Skip to content

Commit

Permalink
linux/kernel/manual-config: prevent chmod errors when there is no arc…
Browse files Browse the repository at this point in the history
…h specific Makefile
  • Loading branch information
xaverdh committed Dec 23, 2020
1 parent e7659b6 commit 99f3e33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/os-specific/linux/kernel/manual-config.nix
Expand Up @@ -249,8 +249,7 @@ let
find . -type f -name '*.lds' -print0 | xargs -0 -r chmod u-w
# Keep root and arch-specific Makefiles
chmod u-w Makefile
chmod u-w arch/$arch/Makefile*
chmod u-w Makefile arch/"$arch"/Makefile*
# Keep whole scripts dir
chmod u-w -R scripts
Expand Down

0 comments on commit 99f3e33

Please sign in to comment.