[Libreoffice-commits] core.git: g
Tomofumi Yagi
yagit at mknada.sakura.ne.jp
Tue Feb 17 05:26:46 PST 2015
g | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0293ec98c92fd58a592f7dd86fbbf47e7b9195c6
Author: Tomofumi Yagi <yagit at mknada.sakura.ne.jp>
Date: Sat Feb 14 19:21:57 2015 +0900
g: SRC_ROOT may not contain path string in a localized environment
When config_host.mk contains non-ascii characters(e.g. Japanese ),
SRC_ROOT may contain an error message "Binary file (standard input)
matches") from grep, and SRC_ROOT may not contain path string.
With '-a' option, grep will work well.
Change-Id: Ifaada5f5a11939d624460cd8dcc57d93911ae790
Reviewed-on: https://gerrit.libreoffice.org/14491
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/g b/g
index bd4270a..2db87cf 100755
--- a/g
+++ b/g
@@ -12,7 +12,7 @@ SUBMODULES_ALL="dictionaries helpcontent2 translations"
pushd $(dirname $0) > /dev/null
if [ -f config_host.mk ] ; then
# we are in the BUILDDIR
- SRC_ROOT=$(cat config_host.mk | grep SRC_ROOT | sed -e "s/.*=//")
+ SRC_ROOT=$(cat config_host.mk | grep -a SRC_ROOT | sed -e "s/.*=//")
else
SRC_ROOT=$(pwd)
fi
More information about the Libreoffice-commits
mailing list