More debug prints converted

This commit is contained in:
2026-06-23 17:00:49 -04:00
parent 03b27900ff
commit ad69be9fe2
3 changed files with 19 additions and 47 deletions
+4 -12
View File
@@ -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