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}