[Libreoffice-commits] core.git: bin/update_pch.sh

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Wed May 8 14:16:43 UTC 2019


 bin/update_pch.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 91d6c309b8fe42a83b8b2c9dd1cde4a65202fff1
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed May 8 16:08:28 2019 +0200
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Wed May 8 16:15:31 2019 +0200

    make update_pch.sh work with symlinked path or CDPATH set
    
    Change-Id: I059393357c3b0d91e30c16df066fb6dd8ba28ab9

diff --git a/bin/update_pch.sh b/bin/update_pch.sh
index 95457e561d32..c4a5f3d6d88a 100755
--- a/bin/update_pch.sh
+++ b/bin/update_pch.sh
@@ -12,7 +12,8 @@
 # Invoke: make cmd cmd="./bin/update_pch.sh [..]"
 
 root=`dirname $0`
-root=`cd $root/.. && pwd`
+root=`cd $root/.. >/dev/null && pwd`
+root=`readlink -f $root`
 cd $root
 
 if test -z "$1"; then


More information about the Libreoffice-commits mailing list