From 756d541a822a0ff106788c06147e2babd612a721 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Wed, 13 Apr 2016 13:04:28 +0200 Subject: [PATCH] Try to solve to "Warning: ridiculously long PATH truncated" message generated by the csh shell. Perhaps will we have to avoid this shell ;-) Former-commit-id: 87663c6f9de10be9862b5fb2d47aa0d720d657f4 Former-commit-id: d776dc96b5440b731a4e2ab508f7c4fdee411024 --- scripts/csh_init.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/csh_init.sh b/scripts/csh_init.sh index 93433eb..0c121b4 100644 --- a/scripts/csh_init.sh +++ b/scripts/csh_init.sh @@ -78,14 +78,15 @@ if ($?ORG_SOURCED == 0) then setenv LANG C setenv LC_ALL C + # -------------------------------------- + # path should be set each time + # -------------------------------------- + + set path = ($SCRIPT_DIR $BIN_DIR $path) + + endif -# -------------------------------------- -# path should be set each time -# -------------------------------------- - -set path = ($SCRIPT_DIR $BIN_DIR $path) - # -------------------------------------- # alias should be sourced each time # --------------------------------------