[gimp-perl] Fix false negatives on setver.



commit 396fea3355f95f874a4af5da7acc7aae4b076dfe
Author: Ed J <edj src gnome org>
Date:   Thu May 1 21:50:00 2014 +0100

    Fix false negatives on setver.

 Makefile.PL |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index c3bf8a6..e2790fc 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -21,7 +21,7 @@ tags: .
 
 # set \$VERSION in all modules
 setver:
-       \$(PERL) -pi -e 's/^(\\s*\\\$\$VERSION\\s*=\\s*).*;/\$\${1}\$(VERSION);/' *.pm Gimp/*.pm UI/*.pm 
Net/*.pm
+       \$(PERL) -pi -e 's/^(\\s*(?:our)?\\s*\\\$\$VERSION\\s*=\\s*).*;/\$\${1}\$(VERSION);/' *.pm Gimp/*.pm 
UI/*.pm Net/*.pm
 
 EOF
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]