From 084d0a37c8d0f1a991ce22ccc6d8c3dd8ca12a33 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 26 Dec 2012 22:14:47 -0500 Subject: (scripted) fix file permission breakage introduced in commit d62bd1 I did this with this command: git diff d62bd1^..d62bd1 | egrep '^old mode ' -C1 \ | tr '\n' ' ' | sed 's/diff --git/\n&/g' \ | sed -r 's|^diff --git a/([^ ]*) b/([^ ]*) old mode 100([0-9]*) new mode 100([0-9]*)|chmod \3 ./\1|' \ | bash The first line finds all of the file-permission changes in the commit. The second line squashes some newlines to get one line per file. This line is in the format: diff --git a/FILE b/FILE old mode OLDMODE new mode NEWMODE The third line extracts the values from those lines and transforms the line into: chmod FILE ./OLDMODE The fourth line (obviously) just executes the output. --- kernels/linux-libre-lts-rt/.directory | 0 kernels/linux-libre-lts-rt/Kbuild | 0 kernels/linux-libre-lts-rt/Kbuild.platforms | 0 kernels/linux-libre-lts-rt/PKGBUILD | 0 kernels/linux-libre-lts-rt/boot-logo.patch | 0 kernels/linux-libre-lts-rt/change-default-console-loglevel.patch | 0 kernels/linux-libre-lts-rt/config.i686 | 0 kernels/linux-libre-lts-rt/config.x86_64 | 0 kernels/linux-libre-lts-rt/ext4-options.patch | 0 kernels/linux-libre-lts-rt/i915-fix-ghost-tv-output.patch | 0 kernels/linux-libre-lts-rt/linux-libre-lts-rt.install | 0 kernels/linux-libre-lts-rt/linux-libre-lts-rt.preset | 0 12 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 kernels/linux-libre-lts-rt/.directory mode change 100755 => 100644 kernels/linux-libre-lts-rt/Kbuild mode change 100755 => 100644 kernels/linux-libre-lts-rt/Kbuild.platforms mode change 100755 => 100644 kernels/linux-libre-lts-rt/PKGBUILD mode change 100755 => 100644 kernels/linux-libre-lts-rt/boot-logo.patch mode change 100755 => 100644 kernels/linux-libre-lts-rt/change-default-console-loglevel.patch mode change 100755 => 100644 kernels/linux-libre-lts-rt/config.i686 mode change 100755 => 100644 kernels/linux-libre-lts-rt/config.x86_64 mode change 100755 => 100644 kernels/linux-libre-lts-rt/ext4-options.patch mode change 100755 => 100644 kernels/linux-libre-lts-rt/i915-fix-ghost-tv-output.patch mode change 100755 => 100644 kernels/linux-libre-lts-rt/linux-libre-lts-rt.install mode change 100755 => 100644 kernels/linux-libre-lts-rt/linux-libre-lts-rt.preset (limited to 'kernels/linux-libre-lts-rt') diff --git a/kernels/linux-libre-lts-rt/.directory b/kernels/linux-libre-lts-rt/.directory old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/Kbuild b/kernels/linux-libre-lts-rt/Kbuild old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/Kbuild.platforms b/kernels/linux-libre-lts-rt/Kbuild.platforms old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/PKGBUILD b/kernels/linux-libre-lts-rt/PKGBUILD old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/boot-logo.patch b/kernels/linux-libre-lts-rt/boot-logo.patch old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/change-default-console-loglevel.patch b/kernels/linux-libre-lts-rt/change-default-console-loglevel.patch old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/config.i686 b/kernels/linux-libre-lts-rt/config.i686 old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/config.x86_64 b/kernels/linux-libre-lts-rt/config.x86_64 old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/ext4-options.patch b/kernels/linux-libre-lts-rt/ext4-options.patch old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/i915-fix-ghost-tv-output.patch b/kernels/linux-libre-lts-rt/i915-fix-ghost-tv-output.patch old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/linux-libre-lts-rt.install b/kernels/linux-libre-lts-rt/linux-libre-lts-rt.install old mode 100755 new mode 100644 diff --git a/kernels/linux-libre-lts-rt/linux-libre-lts-rt.preset b/kernels/linux-libre-lts-rt/linux-libre-lts-rt.preset old mode 100755 new mode 100644 -- cgit v1.2.3