[arch-commits] Commit in plan9port/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Mon Jan 27 19:14:37 UTC 2014
Date: Monday, January 27, 2014 @ 20:14:37
Author: arodseth
Revision: 104867
Re-added search/replace fix of paths. See also FS#37992
Modified:
plan9port/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-27 18:31:37 UTC (rev 104866)
+++ PKGBUILD 2014-01-27 19:14:37 UTC (rev 104867)
@@ -6,7 +6,7 @@
pkgname=plan9port
pkgver=20131024
-pkgrel=2
+pkgrel=3
pkgdesc='Port of many programs from Plan 9 to Unix-like operating systems'
arch=('x86_64' 'i686')
url='http://swtch.com/plan9port/'
@@ -44,11 +44,11 @@
rm -f config install.log install.sum install.txt configure Makefile INSTALL \
LICENSE
- # Fix hardcoded paths
- #for f in `grep -H -r "$pkgdir$d/$pkgname" | cut -d: -f1`; do
- # echo -n "\t$f"
- # [ -e "$f" ] && sed -i "s:$pkgdir$d/$pkgname:$d/$pkgname:" "$f" || true
- #done
+ Fix hardcoded paths
+ for f in `grep -H -r "$pkgdir$d/$pkgname" | cut -d: -f1`; do
+ echo -n "\t$f"
+ [ -e "$f" ] && sed -i "s:$pkgdir$d/$pkgname:$d/$pkgname:" "$f" || true
+ done
# Fix python scripts
find "$pkgdir" -name '*.py' -print0 |xargs -0 \
More information about the arch-commits
mailing list