From 61ec8ff8cbf029baaa79c57b2f0ff9f07aa21a47 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 18 Mar 2010 11:14:35 +0000 Subject: [PATCH] BUG: etc/cshrc: alias cannot be called on single line if statement? --- etc/cshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/cshrc b/etc/cshrc index 96963952fa..7b959e8c43 100644 --- a/etc/cshrc +++ b/etc/cshrc @@ -74,7 +74,9 @@ alias _foamSource 'if ($?FOAM_VERBOSE && $?prompt) echo "Sourcing: \!*"; source # Add in preset user or site preferences: set foamPrefs=`$WM_PROJECT_DIR/bin/foamEtcFile prefs.csh` -if ( $status == 0 ) _foamSource $foamPrefs +if ( $status == 0 ) then + _foamSource $foamPrefs +endif unset foamPrefs