You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/11/24 19:53:14 UTC

svn commit: r1038763 - /subversion/trunk/tools/dev/unix-build/Makefile.svn

Author: stsp
Date: Wed Nov 24 18:53:14 2010
New Revision: 1038763

URL: http://svn.apache.org/viewvc?rev=1038763&view=rev
Log:
* tools/dev/unix-build/Makefile.svn
  (sign-email): Figure out perl version in an easier way.

Suggested by: danielsh

Modified:
    subversion/trunk/tools/dev/unix-build/Makefile.svn

Modified: subversion/trunk/tools/dev/unix-build/Makefile.svn
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dev/unix-build/Makefile.svn?rev=1038763&r1=1038762&r2=1038763&view=diff
==============================================================================
--- subversion/trunk/tools/dev/unix-build/Makefile.svn (original)
+++ subversion/trunk/tools/dev/unix-build/Makefile.svn Wed Nov 24 18:53:14 2010
@@ -1138,7 +1138,7 @@ endif
 	@echo "openssl:    `openssl version | cut -d' ' -f2`"
 	@echo "swig:       `swig -version | grep Version | cut -d' ' -f3`"
 	@echo "python:     `python --version 2>&1 | cut -d' ' -f2`"
-	@echo "perl:       `perl -version | grep ^This | sed  -e 's/^This is perl.*v\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*$$/\1.\2.\3/'`"
+	@echo "perl:       `perl -V:version | sed -e \"s/^.*\'\(.*\)\';/\1/\"`"
 	@echo "ruby:       `ruby --version | cut -d' ' -f2`"
 ifeq ($(ENABLE_JAVA_BINDINGS),yes)
 	@echo "java:       `java -version 2>&1 | grep version | cut -d' ' -f3  | sed -e 's/\"//g'`"