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:59:49 UTC

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

Author: stsp
Date: Wed Nov 24 18:59:49 2010
New Revision: 1038766

URL: http://svn.apache.org/viewvc?rev=1038766&view=rev
Log:
* tools/dev/unix-build/Makefile.svn
  (sign-email): An even simpler way to figure out the perl version.

Patch 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=1038766&r1=1038765&r2=1038766&view=diff
==============================================================================
--- subversion/trunk/tools/dev/unix-build/Makefile.svn (original)
+++ subversion/trunk/tools/dev/unix-build/Makefile.svn Wed Nov 24 18:59:49 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 -V:version | sed -e \"s/^.*\'\(.*\)\';/\1/\"`"
+	@echo "perl:       `eval \`perl -V:version\`; echo $$version`"
 	@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'`"