From ff39d08439cbd1e2036a29e34fcb655d3b2d2f96 Mon Sep 17 00:00:00 2001
From: Dirk Zimoch <dirk.zimoch@psi.ch>
Date: Mon, 12 Oct 2015 14:28:43 +0200
Subject: [PATCH] fix path and case no version is given

---
 postModuleLoad.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/postModuleLoad.cmd b/postModuleLoad.cmd
index 0b2e2586..8cc206ab 100644
--- a/postModuleLoad.cmd
+++ b/postModuleLoad.cmd
@@ -1 +1 @@
-dbLoadRecords("moduleversion.template","IOC=$(IOC),MODULE=$(MODULE),VERSION=$($(MODULE)_VERSION)"
+dbLoadRecords("$(require_DIR)/db/moduleversion.template","IOC=$(IOC),MODULE=$(MODULE),VERSION=$($(MODULE)_VERSION=)"
-- 
GitLab