From bd8b85cfe34b966249ab6520f1b75d7a0d872390 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 21 Dec 2017 10:43:54 +0100 Subject: [PATCH] Fix CKAN + DataPusher SOURCE_DIR --- ckan-datapusher.sh | 2 +- ckan.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ckan-datapusher.sh b/ckan-datapusher.sh index 0e7abfa..51e5db0 100755 --- a/ckan-datapusher.sh +++ b/ckan-datapusher.sh @@ -1,6 +1,6 @@ #!/bin/sh -SOURCE_DIR=${SOURCE_DIR}/ckan-datapusher +SOURCE_DIR=$(realpath $(dirname "${0}"))/ckan-datapusher # Build Docker container docker build -t ckan-datapusher ${SOURCE_DIR} diff --git a/ckan.sh b/ckan.sh index cc33f69..ac89805 100755 --- a/ckan.sh +++ b/ckan.sh @@ -1,6 +1,6 @@ #!/bin/sh -SOURCE_DIR=${SOURCE_DIR}/ckan +SOURCE_DIR=$(realpath $(dirname "${0}"))/ckan # Build Docker container docker build -t ckan ${SOURCE_DIR}