summaryrefslogtreecommitdiff
path: root/science/openfoam/files/patch-Allwmake
diff options
context:
space:
mode:
Diffstat (limited to 'science/openfoam/files/patch-Allwmake')
-rw-r--r--science/openfoam/files/patch-Allwmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/science/openfoam/files/patch-Allwmake b/science/openfoam/files/patch-Allwmake
new file mode 100644
index 000000000000..56c31eae8b08
--- /dev/null
+++ b/science/openfoam/files/patch-Allwmake
@@ -0,0 +1,20 @@
+--- Allwmake.orig Wed Jan 5 16:00:46 2005
++++ Allwmake Sat Dec 17 23:42:15 2005
+@@ -1,4 +1,6 @@
+-#!/bin/sh
++#! /bin/csh -f
++
++source .cshrc
+
+ (cd wmake ; ./makeWmake)
+
+@@ -6,7 +8,6 @@
+
+ (cd applications ; ./Allwmake)
+
+-if [ $# = 1 -a "$1" = "doc" ]
+-then
++if ($# == 1 && "$1" == "doc") then
+ (cd doc ; ./Allwmake)
+-fi
++endif