Date: Thursday, April 2, 2015 @ 18:11:23
  Author: foutrelis
Revision: 235348

upgpkg: llvm 3.6.0-4

Fix shebang in git-clang-format to use Python 2 (FS#44368).

Modified:
  llvm/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-04-02 15:13:46 UTC (rev 235347)
+++ PKGBUILD    2015-04-02 16:11:23 UTC (rev 235348)
@@ -12,7 +12,7 @@
 pkgname=('llvm' 'llvm-libs' 'llvm-ocaml' 'lldb' 'clang' 'clang-analyzer'
          'clang-tools-extra')
 pkgver=3.6.0
-pkgrel=3
+pkgrel=4
 _ocaml_ver=4.02.1
 arch=('i686' 'x86_64')
 url="http://llvm.org/";
@@ -263,7 +263,7 @@
       clang-format.py \
       "$pkgdir/usr/share/$pkgname/"
     cp git-clang-format "$pkgdir/usr/bin/"
-    sed -i 's|/usr/bin/python$|&2|' \
+    sed -i 's|/usr/bin/env python|&2|' \
       "$pkgdir/usr/bin/git-clang-format" \
       "$pkgdir/usr/share/$pkgname/clang-format-diff.py"
   )

Reply via email to