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. --- gis/grass/PKGBUILD | 0 gis/grass/grass.conf | 0 gis/grass/grass.install | 0 gis/grass/grass.sh | 0 gis/libfreexl/PKGBUILD | 0 gis/libspatialite/PKGBUILD | 0 gis/merkaartor/PKGBUILD | 0 gis/merkaartor/install | 0 gis/qgis/PKGBUILD | 0 gis/qgis/qgis.desktop | 0 gis/qgis/qgis_1.7.4_gcc4.7.patch | 0 gis/spatialindex/PKGBUILD | 0 12 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 gis/grass/PKGBUILD mode change 100755 => 100644 gis/grass/grass.conf mode change 100755 => 100644 gis/grass/grass.install mode change 100755 => 100644 gis/grass/grass.sh mode change 100755 => 100644 gis/libfreexl/PKGBUILD mode change 100755 => 100644 gis/libspatialite/PKGBUILD mode change 100755 => 100644 gis/merkaartor/PKGBUILD mode change 100755 => 100644 gis/merkaartor/install mode change 100755 => 100644 gis/qgis/PKGBUILD mode change 100755 => 100644 gis/qgis/qgis.desktop mode change 100755 => 100644 gis/qgis/qgis_1.7.4_gcc4.7.patch mode change 100755 => 100644 gis/spatialindex/PKGBUILD (limited to 'gis') diff --git a/gis/grass/PKGBUILD b/gis/grass/PKGBUILD old mode 100755 new mode 100644 diff --git a/gis/grass/grass.conf b/gis/grass/grass.conf old mode 100755 new mode 100644 diff --git a/gis/grass/grass.install b/gis/grass/grass.install old mode 100755 new mode 100644 diff --git a/gis/grass/grass.sh b/gis/grass/grass.sh old mode 100755 new mode 100644 diff --git a/gis/libfreexl/PKGBUILD b/gis/libfreexl/PKGBUILD old mode 100755 new mode 100644 diff --git a/gis/libspatialite/PKGBUILD b/gis/libspatialite/PKGBUILD old mode 100755 new mode 100644 diff --git a/gis/merkaartor/PKGBUILD b/gis/merkaartor/PKGBUILD old mode 100755 new mode 100644 diff --git a/gis/merkaartor/install b/gis/merkaartor/install old mode 100755 new mode 100644 diff --git a/gis/qgis/PKGBUILD b/gis/qgis/PKGBUILD old mode 100755 new mode 100644 diff --git a/gis/qgis/qgis.desktop b/gis/qgis/qgis.desktop old mode 100755 new mode 100644 diff --git a/gis/qgis/qgis_1.7.4_gcc4.7.patch b/gis/qgis/qgis_1.7.4_gcc4.7.patch old mode 100755 new mode 100644 diff --git a/gis/spatialindex/PKGBUILD b/gis/spatialindex/PKGBUILD old mode 100755 new mode 100644 -- cgit v1.2.3