From 560ab206622539cb3f3e936632197d027f1b569d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 14 Sep 2021 08:25:15 -0300 Subject: src/git-permalink.in: Use ^ beginning of line marker when grepping for LC_MESSAGEES --- src/git-permalink.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/git-permalink.in b/src/git-permalink.in index 49a284e..aa83a07 100755 --- a/src/git-permalink.in +++ b/src/git-permalink.in @@ -74,7 +74,7 @@ get_lang() { # LC_MESSAGES="ll_CC.CODESET@modifier" -> ll_CC, where quotes are # optional locale 2>/dev/null | - grep LC_MESSAGES | + grep ^LC_MESSAGES | cut -d. -f1 | cut -d\" -f2 | cut -d= -f2 -- cgit v1.2.3