dovecot-2.2: lib-fts: .sh scripts weren't executable - changed t...

dovecot at dovecot.org dovecot at dovecot.org
Tue May 12 09:32:37 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/e991baeb8bb7
changeset: 18644:e991baeb8bb7
user:      Timo Sirainen <tss at iki.fi>
date:      Tue May 12 12:30:40 2015 +0300
description:
lib-fts: .sh scripts weren't executable - changed them to be run via bash directly.
Better to avoid relying on the executable bit.

diffstat:

 src/lib-fts/Makefile.am |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2cfb80f7785e -r e991baeb8bb7 src/lib-fts/Makefile.am
--- a/src/lib-fts/Makefile.am	Tue May 12 12:20:56 2015 +0300
+++ b/src/lib-fts/Makefile.am	Tue May 12 12:30:40 2015 +0300
@@ -30,12 +30,12 @@
 WordBreakProperty.txt:
 	test -f WordBreakProperty.txt || wget http://www.unicode.org/Public/UNIDATA/auxiliary/WordBreakProperty.txt
 $(srcdir)/word-boundary-data.c: word-boundary-data.sh WordBreakProperty.txt
-	$(srcdir)/word-boundary-data.sh < WordBreakProperty.txt > $@.tmp && mv $@.tmp $@
+	bash $(srcdir)/word-boundary-data.sh < WordBreakProperty.txt > $@.tmp && mv $@.tmp $@
 
 PropList.txt:
 	test -f PropList.txt || wget http://www.unicode.org/Public/UNIDATA/PropList.txt
 $(srcdir)/word-break-data.c: word-break-data.sh PropList.txt
-	$(srcdir)/word-break-data.sh < PropList.txt > $@.tmp && mv $@.tmp $@
+	bash $(srcdir)/word-break-data.sh < PropList.txt > $@.tmp && mv $@.tmp $@
 
 
 if BUILD_FTS_STEMMER


More information about the dovecot-cvs mailing list