[gimp] Bug 663576 - make -C plug-ins/script-fu check-for-deprecated-procedures-in-script-fu...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 663576 - make -C plug-ins/script-fu check-for-deprecated-procedures-in-script-fu...
- Date: Mon, 1 Jan 2018 13:25:32 +0000 (UTC)
commit a51efd09d12b4a40de8e3d0ae169f004be1cf1d1
Author: Alexis Wilhelm <alexiswilhelm gmail com>
Date: Sat Dec 30 13:09:14 2017 +0100
Bug 663576 - make -C plug-ins/script-fu check-for-deprecated-procedures-in-script-fu...
...lists files that do not use deprecated functions
Better regex that matches the right stuff.
plug-ins/script-fu/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/script-fu/Makefile.am b/plug-ins/script-fu/Makefile.am
index aacbd42..90b449f 100644
--- a/plug-ins/script-fu/Makefile.am
+++ b/plug-ins/script-fu/Makefile.am
@@ -104,7 +104,7 @@ check-for-deprecated-procedures-in-script-fu:
deprecated_procs=`$(top_builddir)/app/gimp-$(GIMP_APP_VERSION)$(EXEEXT)
--dump-pdb-procedures-deprecated`; \
for scm_file in $$scm_files; do \
for proc in $$deprecated_procs; do \
- if grep -qw $$proc $$scm_file; then \
+ if grep -Eq "^([^;]*[[:blank:](])?$$proc([[:blank:])]|$$)" $$scm_file; then \
echo "$${scm_file} uses deprecated procedure '$${proc}'"; \
fi \
done \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]