[arch-commits] Commit in (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 10 20:27:35 UTC 2011


    Date: Saturday, September 10, 2011 @ 16:27:34
  Author: foutrelis
Revision: 137773

Use & in sed commands instead of \0

Modified:
  chromium/trunk/PKGBUILD
  llvm/trunk/PKGBUILD
  pidgin/trunk/PKGBUILD

-------------------------+
 chromium/trunk/PKGBUILD |    2 +-
 llvm/trunk/PKGBUILD     |    2 +-
 pidgin/trunk/PKGBUILD   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Modified: chromium/trunk/PKGBUILD
===================================================================
--- chromium/trunk/PKGBUILD	2011-09-10 18:35:00 UTC (rev 137772)
+++ chromium/trunk/PKGBUILD	2011-09-10 20:27:34 UTC (rev 137773)
@@ -61,7 +61,7 @@
 
   # Use Python 2
   find . -type f -exec sed -i -r \
-    -e 's|/usr/bin/python$|\02|g' \
+    -e 's|/usr/bin/python$|&2|g' \
     -e 's|(/usr/bin/python2)\.4$|\1|g' \
     {} +
   # There are still a lot of relative calls which need a workaround

Modified: llvm/trunk/PKGBUILD
===================================================================
--- llvm/trunk/PKGBUILD	2011-09-10 18:35:00 UTC (rev 137772)
+++ llvm/trunk/PKGBUILD	2011-09-10 20:27:34 UTC (rev 137773)
@@ -217,7 +217,7 @@
   done
 
   # Use Python 2
-  sed -i 's/env python$/\02/' \
+  sed -i 's/env python$/&2/' \
     "$pkgdir/usr/lib/clang-analyzer/scan-view/scan-view" \
     "$pkgdir/usr/lib/clang-analyzer/scan-build/set-xcode-analyzer"
 

Modified: pidgin/trunk/PKGBUILD
===================================================================
--- pidgin/trunk/PKGBUILD	2011-09-10 18:35:00 UTC (rev 137772)
+++ pidgin/trunk/PKGBUILD	2011-09-10 20:27:34 UTC (rev 137773)
@@ -29,7 +29,7 @@
   patch -Np1 -i "$srcdir/nm09-more.patch"
 
   # Use Python 2
-  sed -i 's/env python$/\02/' */plugins/*.py \
+  sed -i 's/env python$/&2/' */plugins/*.py \
     libpurple/purple-{remote,notifications-example,url-handler}
 
   ./configure \




More information about the arch-commits mailing list