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. --- libre/audacity-libre/.directory | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 libre/audacity-libre/.directory (limited to 'libre/audacity-libre/.directory') diff --git a/libre/audacity-libre/.directory b/libre/audacity-libre/.directory old mode 100755 new mode 100644 -- cgit v1.2.3 From 2798b055cbeeb2580b2677e5c223fca7654e1103 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 22 Dec 2012 00:40:59 -0500 Subject: find . -name .directory -type f -delete; echo .directory > .gitignore --- .gitignore | 1 + kernels/linux-libre-lts-grsec/.directory | 3 --- kernels/linux-libre-lts-rt/.directory | 6 ------ libre/audacity-libre/.directory | 2 -- libre/mplayer-libre/.directory | 3 --- libre/virtualbox-libre-modules/.directory | 3 --- social/hunspell-pt-br/.directory | 2 -- ~emulatorman/hunspell-pt-br/.directory | 2 -- 8 files changed, 1 insertion(+), 21 deletions(-) delete mode 100755 kernels/linux-libre-lts-grsec/.directory delete mode 100644 kernels/linux-libre-lts-rt/.directory delete mode 100644 libre/audacity-libre/.directory delete mode 100644 libre/mplayer-libre/.directory delete mode 100644 libre/virtualbox-libre-modules/.directory delete mode 100644 social/hunspell-pt-br/.directory delete mode 100644 ~emulatorman/hunspell-pt-br/.directory (limited to 'libre/audacity-libre/.directory') diff --git a/.gitignore b/.gitignore index 6dc4e19af..e28a2ea64 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *~ #*# +.directory src/ pkg/ *.log diff --git a/kernels/linux-libre-lts-grsec/.directory b/kernels/linux-libre-lts-grsec/.directory deleted file mode 100755 index b766bba88..000000000 --- a/kernels/linux-libre-lts-grsec/.directory +++ /dev/null @@ -1,3 +0,0 @@ -[Dolphin] -Timestamp=2012,12,3,14,0,37 -Version=3 diff --git a/kernels/linux-libre-lts-rt/.directory b/kernels/linux-libre-lts-rt/.directory deleted file mode 100644 index 7a883fed9..000000000 --- a/kernels/linux-libre-lts-rt/.directory +++ /dev/null @@ -1,6 +0,0 @@ -[Dolphin] -Timestamp=2012,8,9,23,59,18 -Version=3 - -[Settings] -HiddenFilesShown=true diff --git a/libre/audacity-libre/.directory b/libre/audacity-libre/.directory deleted file mode 100644 index a65007814..000000000 --- a/libre/audacity-libre/.directory +++ /dev/null @@ -1,2 +0,0 @@ -[Dolphin] -Timestamp=2012,4,10,15,23,50 diff --git a/libre/mplayer-libre/.directory b/libre/mplayer-libre/.directory deleted file mode 100644 index b3a1c5dc3..000000000 --- a/libre/mplayer-libre/.directory +++ /dev/null @@ -1,3 +0,0 @@ -[Dolphin] -Timestamp=2012,11,17,0,31,48 -Version=3 diff --git a/libre/virtualbox-libre-modules/.directory b/libre/virtualbox-libre-modules/.directory deleted file mode 100644 index 9f6471595..000000000 --- a/libre/virtualbox-libre-modules/.directory +++ /dev/null @@ -1,3 +0,0 @@ -[Dolphin] -Timestamp=2012,8,16,6,34,39 -Version=3 diff --git a/social/hunspell-pt-br/.directory b/social/hunspell-pt-br/.directory deleted file mode 100644 index dcad2ff51..000000000 --- a/social/hunspell-pt-br/.directory +++ /dev/null @@ -1,2 +0,0 @@ -[Dolphin] -Timestamp=2012,4,7,5,22,50 diff --git a/~emulatorman/hunspell-pt-br/.directory b/~emulatorman/hunspell-pt-br/.directory deleted file mode 100644 index e59814917..000000000 --- a/~emulatorman/hunspell-pt-br/.directory +++ /dev/null @@ -1,2 +0,0 @@ -[Dolphin] -Timestamp=2012,4,7,5,26,29 -- cgit v1.2.3