From abe26c61c29ca9abc1ed8cf8e1ddc54025869e92 Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Mon, 1 Jul 2019 16:33:09 +0200
Subject: [PATCH] make sure outputpath exists

---
 collect-columns.wdl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/collect-columns.wdl b/collect-columns.wdl
index 9e18f51..910aeac 100644
--- a/collect-columns.wdl
+++ b/collect-columns.wdl
@@ -17,6 +17,8 @@ task CollectColumns {
     }
 
     command {
+        set -e
+        mkdir -p $(dirname ~{outputPath})
         collect-columns \
         ~{outputPath} \
         ~{sep=" " inputTables} \
-- 
GitLab