g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 0293ec98c92fd58a592f7dd86fbbf47e7b9195c6 Author: Tomofumi Yagi <ya...@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 <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits