From 2b26ac2efca151ce00af66db9a57eea351fbd947 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 12 Mar 2013 17:22:32 +0100 Subject: do not require full path when passing a pch header file to update Change-Id: Ie1b0588cf6424e836f865cda9d4451aa0e1db32d --- solenv/bin/update_pch.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'solenv') diff --git a/solenv/bin/update_pch.sh b/solenv/bin/update_pch.sh index fdb17a7ae288..84ff445468c6 100755 --- a/solenv/bin/update_pch.sh +++ b/solenv/bin/update_pch.sh @@ -7,6 +7,8 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # +# Usage: update_pch.sh [precompiled_xxx.hxx] + root=`dirname $0` root=`cd $root/../.. && pwd` @@ -19,7 +21,7 @@ fi for x in $headers; do header=$x echo updating `echo $header | sed -e s%$root/%%` - module=`echo $header | sed -e s%$root/%% -e s%/.*%%` + module=`readlink -f $header | sed -e s%$root/%% -e s%/.*%%` name=`echo $header | sed -e s/.*precompiled_// -e s/\.hxx//` makefile="Library_$name.mk" -- cgit v1.2.3