From 26808f889b4e2d4ab41915f1108d38e98a6b48f1 Mon Sep 17 00:00:00 2001 From: Michal Kubecek Date: Mar 25 2024 10:14:31 +0000 Subject: scripts/sequence-patch.sh: add missing template to find -exec Recent fix for space handling lacks the '{}' template in find -exec command so that this command fails and no chmod is executed. Fixes: 622d2088f344 ("scripts/sequence-patch.sh: handle spaces in file names") --- diff --git a/scripts/sequence-patch.sh b/scripts/sequence-patch.sh index 87cafcd..8e6bc7c 100755 --- a/scripts/sequence-patch.sh +++ b/scripts/sequence-patch.sh @@ -499,7 +499,7 @@ fi # Create fresh $SCRATCH_AREA/linux-$SRCVERSION. if ! [ -d $ORIG_DIR ]; then unpack_tarball "$SRCVERSION" "$ORIG_DIR" "$URL" - find $ORIG_DIR -type f -exec chmod a-w,a+r + + find $ORIG_DIR -type f -exec chmod a-w,a+r {} + fi if $VANILLA; then