diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-26 22:14:47 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-26 22:14:47 -0500 |
commit | 084d0a37c8d0f1a991ce22ccc6d8c3dd8ca12a33 (patch) | |
tree | 6ff23af38ad44ff7557ea9bea02efce4bc4c87c4 /libre/lirc-libre | |
parent | 26af2632a5b31ae948e3d5b453c4a22dd64c6bb6 (diff) |
(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.
Diffstat (limited to 'libre/lirc-libre')
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/PKGBUILD | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/irexec.conf | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/irexecd | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/kernel-2.6.39.patch | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/lirc.install | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/lirc.logrotate | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/lirc_atiusb-kfifo.patch | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/lirc_wpc8769l.patch | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/lircd | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/lircd-handle-large-config.patch | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/lircd.conf | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | libre/lirc-libre/lircmd | 0 |
12 files changed, 0 insertions, 0 deletions
diff --git a/libre/lirc-libre/PKGBUILD b/libre/lirc-libre/PKGBUILD index 7da492643..7da492643 100755..100644 --- a/libre/lirc-libre/PKGBUILD +++ b/libre/lirc-libre/PKGBUILD diff --git a/libre/lirc-libre/irexec.conf b/libre/lirc-libre/irexec.conf index f911c7515..f911c7515 100755..100644 --- a/libre/lirc-libre/irexec.conf +++ b/libre/lirc-libre/irexec.conf diff --git a/libre/lirc-libre/irexecd b/libre/lirc-libre/irexecd index a64b033a5..a64b033a5 100755..100644 --- a/libre/lirc-libre/irexecd +++ b/libre/lirc-libre/irexecd diff --git a/libre/lirc-libre/kernel-2.6.39.patch b/libre/lirc-libre/kernel-2.6.39.patch index 7353d61ca..7353d61ca 100755..100644 --- a/libre/lirc-libre/kernel-2.6.39.patch +++ b/libre/lirc-libre/kernel-2.6.39.patch diff --git a/libre/lirc-libre/lirc.install b/libre/lirc-libre/lirc.install index a6694836f..a6694836f 100755..100644 --- a/libre/lirc-libre/lirc.install +++ b/libre/lirc-libre/lirc.install diff --git a/libre/lirc-libre/lirc.logrotate b/libre/lirc-libre/lirc.logrotate index 623c4f328..623c4f328 100755..100644 --- a/libre/lirc-libre/lirc.logrotate +++ b/libre/lirc-libre/lirc.logrotate diff --git a/libre/lirc-libre/lirc_atiusb-kfifo.patch b/libre/lirc-libre/lirc_atiusb-kfifo.patch index a64984dce..a64984dce 100755..100644 --- a/libre/lirc-libre/lirc_atiusb-kfifo.patch +++ b/libre/lirc-libre/lirc_atiusb-kfifo.patch diff --git a/libre/lirc-libre/lirc_wpc8769l.patch b/libre/lirc-libre/lirc_wpc8769l.patch index e4e2a049b..e4e2a049b 100755..100644 --- a/libre/lirc-libre/lirc_wpc8769l.patch +++ b/libre/lirc-libre/lirc_wpc8769l.patch diff --git a/libre/lirc-libre/lircd b/libre/lirc-libre/lircd index e9739b36e..e9739b36e 100755..100644 --- a/libre/lirc-libre/lircd +++ b/libre/lirc-libre/lircd diff --git a/libre/lirc-libre/lircd-handle-large-config.patch b/libre/lirc-libre/lircd-handle-large-config.patch index 85bc20518..85bc20518 100755..100644 --- a/libre/lirc-libre/lircd-handle-large-config.patch +++ b/libre/lirc-libre/lircd-handle-large-config.patch diff --git a/libre/lirc-libre/lircd.conf b/libre/lirc-libre/lircd.conf index 760dab065..760dab065 100755..100644 --- a/libre/lirc-libre/lircd.conf +++ b/libre/lirc-libre/lircd.conf diff --git a/libre/lirc-libre/lircmd b/libre/lirc-libre/lircmd index 220c47c9c..220c47c9c 100755..100644 --- a/libre/lirc-libre/lircmd +++ b/libre/lirc-libre/lircmd |