aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-09-22 11:40:51 -0400
committerHarald Hoyer <harald@redhat.com>2011-04-19 15:40:25 +0200
commitfbda58cccb37798c665bc8a00c2a4e27f32b091a (patch)
treeedf5607008d5b21c63506fd2433da7b1f4c3b10b
parentc64b6952a701df5e161c2975b3cb2dc5331e5c8d (diff)
downloadinitscripts-fbda58cccb37798c665bc8a00c2a4e27f32b091a.tar
initscripts-fbda58cccb37798c665bc8a00c2a4e27f32b091a.tar.gz
initscripts-fbda58cccb37798c665bc8a00c2a4e27f32b091a.tar.bz2
initscripts-fbda58cccb37798c665bc8a00c2a4e27f32b091a.tar.xz
initscripts-fbda58cccb37798c665bc8a00c2a4e27f32b091a.zip
Fix tcsh + grep-2.7. (#636552)
https://bugzilla.redhat.com/show_bug.cgi?id=649995
-rwxr-xr-xlang.csh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang.csh b/lang.csh
index 758ac8b9..35a1a8f1 100755
--- a/lang.csh
+++ b/lang.csh
@@ -6,7 +6,7 @@ if ($?LANG) then
else
foreach file (/etc/sysconfig/i18n $HOME/.i18n)
if ( -f $file ) then
- eval `grep -v '^[:blank:]*#' $file | sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' | sed 's|$|;|'`
+ eval `grep -v '^[[:blank:]]*#' $file | sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' | sed 's|$|;|'`
endif
set sourced=1
end