Bash string comparison does not require hack.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 02 Jan 2012 18:57:38 +0200
changeset 285 60fc251ec270
parent 284 3351fda649d5
child 286 82d95a95c82c
Bash string comparison does not require hack.
.bash_path
--- a/.bash_path	Mon Jan 02 18:38:59 2012 +0200
+++ b/.bash_path	Mon Jan 02 18:57:38 2012 +0200
@@ -12,7 +12,7 @@
 
 # Special case for CYGWIN to properly display russian letters in rxvt.
 # Don't forget set in Windows SHELL=/bin/bash. If default SHELL is sh then .bashrc will not be read.
-if [[ x$OSTYPE = xcygwin ]]; then
+if [[ $OSTYPE = cygwin ]]; then
   export LANG=ru_RU.CP1251
   # Avoid permission problem in Cygwin.
   umask 0000