From 3da687a459287342e449b8582cddb584f5f264b8 Mon Sep 17 00:00:00 2001
From: Ingrid Luijx <ingrid.vanderlaan@wur.nl>
Date: Mon, 11 Jun 2012 13:46:48 +0000
Subject: [PATCH] Added assignment of strippedname for restart==True option

---
 da/tools/initexit.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/da/tools/initexit.py b/da/tools/initexit.py
index a8b3e56b..835923a8 100755
--- a/da/tools/initexit.py
+++ b/da/tools/initexit.py
@@ -370,6 +370,8 @@ class CycleControl(dict):
 
             dummy = self.SetupFileStructure()
 
+            strippedname = os.path.split(self['jobrcfilename'])[-1]
+
             self['jobrcfilename'] = os.path.join(self['dir.exec'],strippedname)
 
             dummy = self.RandomSeed('read')
-- 
GitLab