summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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