[Rcpp-commits] r2391 - scripts

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Nov 4 13:06:47 CET 2010


Author: edd
Date: 2010-11-04 13:06:47 +0100 (Thu, 04 Nov 2010)
New Revision: 2391

Modified:
   scripts/runBuild.sh
Log:
also report RcppVersion from config.h


Modified: scripts/runBuild.sh
===================================================================
--- scripts/runBuild.sh	2010-11-04 12:05:34 UTC (rev 2390)
+++ scripts/runBuild.sh	2010-11-04 12:06:47 UTC (rev 2391)
@@ -8,7 +8,8 @@
 fi
 
 version=$(r -e'cat(as.character(read.dcf("Rcpp/DESCRIPTION")[,"Version"]))')
-echo "Working on version $version"
+encodedversion=$(grep RCPP_VERSION Rcpp/inst/include/Rcpp/config.h | awk '{print $3}')
+echo "Working on:  $encodedversion -- $version"
 
 #export RCPP_CXX0X="yes"
 export RCPP_CXX0X="no"



More information about the Rcpp-commits mailing list