summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2013-11-20 08:57:05 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:49:04 +0200
commit6c95572c85c333cf428963b7abe26a404ac230b7 (patch)
tree41b15cd569be2ef7accf666d613915f77e63ef10 /app-shells/zsh-syntax-highlighting
parentSimplify zsh locale handling. Bump stylish (diff)
downloadmv-6c95572c85c333cf428963b7abe26a404ac230b7.tar.gz
mv-6c95572c85c333cf428963b7abe26a404ac230b7.tar.bz2
mv-6c95572c85c333cf428963b7abe26a404ac230b7.zip
zsh: fix check for patching
Diffstat (limited to 'app-shells/zsh-syntax-highlighting')
-rw-r--r--app-shells/zsh-syntax-highlighting/ChangeLog3
-rw-r--r--app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-99999999.ebuild3
2 files changed, 5 insertions, 1 deletions
diff --git a/app-shells/zsh-syntax-highlighting/ChangeLog b/app-shells/zsh-syntax-highlighting/ChangeLog
index 228874d7..a5aef1e5 100644
--- a/app-shells/zsh-syntax-highlighting/ChangeLog
+++ b/app-shells/zsh-syntax-highlighting/ChangeLog
@@ -4,6 +4,9 @@
*zsh-syntax-highlighting-0.2.0, -99999999 (14 Sep 2013)
+ 20 Nov 2013; Martin Väth <martin@mvath.de>:
+ Fix check for patching
+
12 Oct 2013; Martin Väth <martin@mvath.de>:
Use readme.gentoo.eclass
diff --git a/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-99999999.ebuild b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-99999999.ebuild
index 98667da3..4c36f8bb 100644
--- a/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-99999999.ebuild
+++ b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-99999999.ebuild
@@ -37,7 +37,8 @@ at the end of your ~/.zshrc
For testing, you can also execute the above command in your zsh."
src_prepare() {
- grep -q 'local .*cdpath_dir' >/dev/null 2>&1 || \
+ grep -q 'local .*cdpath_dir' \
+ "${S}/highlighters/main/main-highlighter.zsh" >/dev/null 2>&1 || \
sed -i -e '/for cdpath_dir/ilocal cdpath_dir' \
-- "${S}/highlighters/main/main-highlighter.zsh" || die
epatch_user