aboutsummaryrefslogtreecommitdiff
path: root/biology/deft/files/patch-aa
blob: 7164a838b73c14d3d8492b1346904f93cbeb148f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- ../examples/DeFT.orig	Thu Aug 27 16:35:41 1998
+++ ../examples/DeFT	Wed May 31 18:40:28 2000
@@ -1,10 +1,14 @@
+#!/bin/csh -f
 #
-# here is the shell for running DeFT
+# running DeFT
 #
 
-setenv my_directory $HOME/DeFT_2.2/examples
-setenv DeFT_directory $HOME/DeFT_2.2
-setenv temp_directory /scratch/tmp$$
+setenv my_directory $2
+if (null$my_directory == null) then
+    setenv my_directory `echo $PWD`
+endif
+setenv DeFT_directory %%PREFIX%%/share/DeFT
+setenv temp_directory /usr/tmp/tmp$$
 
 mkdir $temp_directory
 cd $temp_directory
@@ -19,9 +23,7 @@
 
 chmod u+w $temp_directory/*
 
-cp $DeFT_directory/source/DeFT             DeFT
-
-time DeFT < input >& $my_directory/$1.out
+time DeFT.exec < input >& $my_directory/$1.out
 
 cp new_restart $my_directory/$1.rst
 cp espf        $my_directory/$1.espf