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. --- ~emulatorman/hunspell-gl/PKGBUILD | 0 ~emulatorman/hunspell-pt-br/.directory | 0 ~emulatorman/hunspell-pt-br/PKGBUILD | 0 ~emulatorman/jitsi/PKGBUILD | 0 ~emulatorman/jitsi/jitsi.desktop | 0 ~emulatorman/jitsi/jitsi.sh | 0 ~emulatorman/raider/ChangeLog | 0 ~emulatorman/raider/INSTALL | 0 ~emulatorman/raider/PKGBUILD | 0 ~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch | 0 ~emulatorman/timekpr/PKGBUILD | 0 ~emulatorman/timekpr/timekpr.install | 0 ~emulatorman/xchat-xsys-noaudacious/PKGBUILD | 0 ~emulatorman/xchat-xsys-noaudacious/no-audacious.patch | 0 ~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch | 0 ~emulatorman/xonotic-data/PKGBUILD | 0 ~emulatorman/xonotic/PKGBUILD | 0 ~emulatorman/xonotic/xonotic-glx.desktop | 0 ~emulatorman/xonotic/xonotic-sdl.desktop | 0 19 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 ~emulatorman/hunspell-gl/PKGBUILD mode change 100755 => 100644 ~emulatorman/hunspell-pt-br/.directory mode change 100755 => 100644 ~emulatorman/hunspell-pt-br/PKGBUILD mode change 100755 => 100644 ~emulatorman/jitsi/PKGBUILD mode change 100755 => 100644 ~emulatorman/jitsi/jitsi.desktop mode change 100755 => 100644 ~emulatorman/jitsi/jitsi.sh mode change 100755 => 100644 ~emulatorman/raider/ChangeLog mode change 100755 => 100644 ~emulatorman/raider/INSTALL mode change 100755 => 100644 ~emulatorman/raider/PKGBUILD mode change 100755 => 100644 ~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch mode change 100755 => 100644 ~emulatorman/timekpr/PKGBUILD mode change 100755 => 100644 ~emulatorman/timekpr/timekpr.install mode change 100755 => 100644 ~emulatorman/xchat-xsys-noaudacious/PKGBUILD mode change 100755 => 100644 ~emulatorman/xchat-xsys-noaudacious/no-audacious.patch mode change 100755 => 100644 ~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch mode change 100755 => 100644 ~emulatorman/xonotic-data/PKGBUILD mode change 100755 => 100644 ~emulatorman/xonotic/PKGBUILD mode change 100755 => 100644 ~emulatorman/xonotic/xonotic-glx.desktop mode change 100755 => 100644 ~emulatorman/xonotic/xonotic-sdl.desktop (limited to '~emulatorman') diff --git a/~emulatorman/hunspell-gl/PKGBUILD b/~emulatorman/hunspell-gl/PKGBUILD old mode 100755 new mode 100644 diff --git a/~emulatorman/hunspell-pt-br/.directory b/~emulatorman/hunspell-pt-br/.directory old mode 100755 new mode 100644 diff --git a/~emulatorman/hunspell-pt-br/PKGBUILD b/~emulatorman/hunspell-pt-br/PKGBUILD old mode 100755 new mode 100644 diff --git a/~emulatorman/jitsi/PKGBUILD b/~emulatorman/jitsi/PKGBUILD old mode 100755 new mode 100644 diff --git a/~emulatorman/jitsi/jitsi.desktop b/~emulatorman/jitsi/jitsi.desktop old mode 100755 new mode 100644 diff --git a/~emulatorman/jitsi/jitsi.sh b/~emulatorman/jitsi/jitsi.sh old mode 100755 new mode 100644 diff --git a/~emulatorman/raider/ChangeLog b/~emulatorman/raider/ChangeLog old mode 100755 new mode 100644 diff --git a/~emulatorman/raider/INSTALL b/~emulatorman/raider/INSTALL old mode 100755 new mode 100644 diff --git a/~emulatorman/raider/PKGBUILD b/~emulatorman/raider/PKGBUILD old mode 100755 new mode 100644 diff --git a/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch b/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch old mode 100755 new mode 100644 diff --git a/~emulatorman/timekpr/PKGBUILD b/~emulatorman/timekpr/PKGBUILD old mode 100755 new mode 100644 diff --git a/~emulatorman/timekpr/timekpr.install b/~emulatorman/timekpr/timekpr.install old mode 100755 new mode 100644 diff --git a/~emulatorman/xchat-xsys-noaudacious/PKGBUILD b/~emulatorman/xchat-xsys-noaudacious/PKGBUILD old mode 100755 new mode 100644 diff --git a/~emulatorman/xchat-xsys-noaudacious/no-audacious.patch b/~emulatorman/xchat-xsys-noaudacious/no-audacious.patch old mode 100755 new mode 100644 diff --git a/~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch b/~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch old mode 100755 new mode 100644 diff --git a/~emulatorman/xonotic-data/PKGBUILD b/~emulatorman/xonotic-data/PKGBUILD old mode 100755 new mode 100644 diff --git a/~emulatorman/xonotic/PKGBUILD b/~emulatorman/xonotic/PKGBUILD old mode 100755 new mode 100644 diff --git a/~emulatorman/xonotic/xonotic-glx.desktop b/~emulatorman/xonotic/xonotic-glx.desktop old mode 100755 new mode 100644 diff --git a/~emulatorman/xonotic/xonotic-sdl.desktop b/~emulatorman/xonotic/xonotic-sdl.desktop old mode 100755 new mode 100644 -- cgit v1.2.3-2-g168b