diff options
author | Troy Engel | 2016-01-17 07:50:35 -0600 |
---|---|---|
committer | Troy Engel | 2016-01-17 07:50:35 -0600 |
commit | e9fecac7d5549e1cdc59295ceac1193fdaadf59a (patch) | |
tree | e7dea226ed831d53d1f2b11628808d476ef36e3a | |
parent | 246c43a87e3c0484d145155cbe6c761687b4876b (diff) | |
download | aur-e9fecac7d5549e1cdc59295ceac1193fdaadf59a.tar.gz |
fix sed word boundry for python
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Jan 16 14:07:49 UTC 2016 +# Sun Jan 17 13:49:00 UTC 2016 pkgbase = google-cloud-sdk pkgdesc = Contains tools and libraries that enable you to easily create and manage resources on Google Cloud Platform pkgver = 92.0.0 - pkgrel = 1 + pkgrel = 2 url = https://cloud.google.com/sdk/ arch = i686 arch = x86_64 @@ -5,7 +5,7 @@ pkgname="google-cloud-sdk" pkgver=92.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Contains tools and libraries that enable you to easily create and manage resources on Google Cloud Platform" url="https://cloud.google.com/sdk/" license=("Apache") @@ -70,7 +70,7 @@ package() { grep -rl 'python' "$pkgdir/opt/$pkgname" | \ xargs sed -i 's|#!.*python\b|#!/usr/bin/env python2|g' find "$pkgdir/opt/$pkgname/bin/" -maxdepth 1 -type f -exec \ - sed -i 's/CLOUDSDK_PYTHON=python/CLOUDSDK_PYTHON=python2/g' {} \; + sed -i 's/CLOUDSDK_PYTHON=python\b/CLOUDSDK_PYTHON=python2/g' {} \; # These are only present in the direct numbered downloads we use msg2 "Installing man pages" |