More debug prints converted
This commit is contained in:
+4
-12
@@ -19,9 +19,7 @@ if( ( $?CSHENV_DEBUG ) || ( $?CSHENV_VERBOSE_STARTUP ) ) then
|
||||
endif
|
||||
|
||||
if( $?CSHENV_USE_GNU_LS ) then
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Finding gls..."
|
||||
endif
|
||||
_debug "Finding gls..."
|
||||
if( { which gls } ) > /dev/null then
|
||||
setenv CSHENV_SYSTEM_LS USE_GNU_LS
|
||||
else if( "$CSHENV_SYSTEM" == "Linux" || "$CSHENV_SYSTEM" == "Cygwin" ) then
|
||||
@@ -30,19 +28,13 @@ if( $?CSHENV_USE_GNU_LS ) then
|
||||
else
|
||||
setenv CSHENV_SYSTEM_LS $CSHENV_SYSTEM
|
||||
endif
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Done with gls probe..."
|
||||
endif
|
||||
_debug "Done with gls probe..."
|
||||
else
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Trying for other ls options..."
|
||||
endif
|
||||
_debug "Trying for other ls options..."
|
||||
if( $?CSHENV_USE_BUILTIN_LS ) then
|
||||
setenv CSHENV_SYSTEM_LS USE_BUILTIN_LS
|
||||
else
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Defaulting on ls..."
|
||||
endif
|
||||
_debug "Defaulting on ls..."
|
||||
setenv CSHENV_SYSTEM_LS ${CSHENV_SYSTEM}
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user