summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-10-01 21:21:28 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-10-01 21:21:28 (GMT)
commitf9687e328f7ea64ea6384aae11af36fdd3a12643 (patch)
tree91e2555b44011705d3188f11d7b7598f29c0ba7b /configure
parent3c7354c1cd9fb081df8b3f4faef5160ea83f584f (diff)
downloadCMake-f9687e328f7ea64ea6384aae11af36fdd3a12643.zip
CMake-f9687e328f7ea64ea6384aae11af36fdd3a12643.tar.gz
CMake-f9687e328f7ea64ea6384aae11af36fdd3a12643.tar.bz2
Merge in changes to CMake-2-8 RC 2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index dbfec50..1162216 100755
--- a/configure
+++ b/configure
@@ -1,3 +1,3 @@
-#! /bin/sh
-cmake_source_dir=`echo $0 | sed -n '/\//{s/\/[^\/]*$//;p;}'`
+#!/bin/sh
+cmake_source_dir=`cd "\`dirname \"$0\"\`";pwd`
exec "${cmake_source_dir}/bootstrap" "$@"