[Libreoffice-commits] .: Branch 'feature/kill-set_soenv' - configure.in

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Mon Sep 19 11:59:26 PDT 2011


 configure.in |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 5b5247de26736409fa8a292357d44f455e819193
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Mon Sep 19 13:58:30 2011 -0500

    remove readlink gnu-ism

diff --git a/configure.in b/configure.in
index d21f906..bd78565 100755
--- a/configure.in
+++ b/configure.in
@@ -9380,8 +9380,9 @@ echo "setting up the post_download check script"
 autoconf post_download.in > post_download
 chmod +x post_download
 
-CONFIGURESCRIPT=`readlink -f $0`
-SRC_ROOT=`dirname $CONFIGURESCRIPT`
+pushd `dirname $0` > /dev/null
+SRC_ROOT=`pwd -P`
+popd > /dev/null
 SOLARENV="$SRC_ROOT/solenv"
 SOLARVER="$SRC_ROOT/solver"
 if [[ "$TARFILE_LOCATION" == "DEFAULT" ]]


More information about the Libreoffice-commits mailing list