diff options
author | EuAndreh <eu@euandre.org> | 2021-09-14 08:25:15 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-09-14 08:25:15 -0300 |
commit | 560ab206622539cb3f3e936632197d027f1b569d (patch) | |
tree | b27cadfd80082fd1c2c1da53416b4435e6f10522 /src/git-permalink.in | |
parent | TODOs.md: Mark #task-c88197ce-ade4-2d30-07fb-b52cf004a201 as CANCELLED (diff) | |
download | git-permalink-560ab206622539cb3f3e936632197d027f1b569d.tar.gz git-permalink-560ab206622539cb3f3e936632197d027f1b569d.tar.xz |
src/git-permalink.in: Use ^ beginning of line marker when grepping for LC_MESSAGEES
Diffstat (limited to 'src/git-permalink.in')
-rwxr-xr-x | src/git-permalink.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |