From f407f1326ea1e43896f3214c76dc87680549f586 Mon Sep 17 00:00:00 2001
From: Tim Behrens <behrens@fmrib.ox.ac.uk>
Date: Thu, 7 Sep 2006 12:02:25 +0000
Subject: [PATCH] *** empty log message ***

---
 old_bedpost  | 2 +-
 old_bedpostX | 8 ++------
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/old_bedpost b/old_bedpost
index 07f9fbe..ce8e64c 100755
--- a/old_bedpost
+++ b/old_bedpost
@@ -228,7 +228,7 @@ echo 0 0 1 0 >> ${xfmdir}/eye.mat
 echo 0 0 0 1 >> ${xfmdir}/eye.mat
 
 echo "DONE"
-ExitUnlock()
+ExitUnlock
 
 
 
diff --git a/old_bedpostX b/old_bedpostX
index 561326c..4be5dae 100644
--- a/old_bedpostX
+++ b/old_bedpostX
@@ -227,6 +227,7 @@ fi
 echo Creating identity xfm
 
 xfmdir=${subjdir}.bedpostX/xfms
+mkdir -p $xfmdir
 echo 1 0 0 0 > ${xfmdir}/eye.mat
 echo 0 1 0 0 >> ${xfmdir}/eye.mat
 echo 0 0 1 0 >> ${xfmdir}/eye.mat
@@ -234,12 +235,7 @@ echo 0 0 0 1 >> ${xfmdir}/eye.mat
 
 echo Done
 
-
-
-
-
-
-ExitUnlock()
+ExitUnlock
 
 
 
-- 
GitLab