Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51590 - sandbox/reference_closure
From: dave_at_[hidden]
Date: 2009-03-03 21:08:08


Author: dave
Date: 2009-03-03 21:08:07 EST (Tue, 03 Mar 2009)
New Revision: 51590
URL: http://svn.boost.org/trac/boost/changeset/51590

Log:
Fix benchmark.sh so it works

Text files modified:
   sandbox/reference_closure/benchmark.sh | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: sandbox/reference_closure/benchmark.sh
==============================================================================
--- sandbox/reference_closure/benchmark.sh (original)
+++ sandbox/reference_closure/benchmark.sh 2009-03-03 21:08:07 EST (Tue, 03 Mar 2009)
@@ -1,12 +1,13 @@
-CC=/home/build/buildtools/crosstool/v10/gcc-4.2.1-glibc-2.3.5/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-g++
+#!/bin/sh
+CC=g++
 
 echo compile trivial_nested
 time $CC -O2 trivial_nested.cc -o trivial_nested
 echo execute trivial_nested
-time trivial_nested
+time ./trivial_nested
 
 echo compile trivial_function
 time $CC -O2 trivial_function.cc -o trivial_function
 echo execute trivial_function
-time trivial_function
+time ./trivial_function
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk