aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/git-permalink.in2
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