From 30558c7a855058994a520c74af77db0854fc296d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 17 Mar 2009 15:14:26 -0400 Subject: Add an option for consoletype to always return 0. This allows tcsh -e to work, with lang.sh. It's a hack, but there really isn't a better way to solve it. --- lang.csh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang.csh') diff --git a/lang.csh b/lang.csh index 04288571..9d68d9a4 100755 --- a/lang.csh +++ b/lang.csh @@ -26,7 +26,7 @@ if ($sourced == 1) then endif endif - set consoletype=`/sbin/consoletype` + set consoletype=`/sbin/consoletype stdout` if ($?LANG) then switch ($LANG) -- cgit v1.2.1