From b461b98d7c8d19343379ecd133193b5dec8b210c Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Fri, 1 Apr 2022 16:04:37 +0200 Subject: [PATCH] fix: import/export commands not working properly with relative paths now both are working fine: - mysql_exporter export.env - mysql_importer import.env --- 8.0/entrypoint.sh | 2 +- 8.0/scripts/___mysqlexport.sh | 2 +- 8.0/scripts/___mysqlimport.sh | 2 +- 8.0/scripts/mysql_exporter | 2 +- 8.0/scripts/mysql_importer | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/8.0/entrypoint.sh b/8.0/entrypoint.sh index 2cef475..b5f4760 100755 --- a/8.0/entrypoint.sh +++ b/8.0/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Path: /usr/local/bin/docker-entrypoint.sh diff --git a/8.0/scripts/___mysqlexport.sh b/8.0/scripts/___mysqlexport.sh index de82f15..0efec20 100755 --- a/8.0/scripts/___mysqlexport.sh +++ b/8.0/scripts/___mysqlexport.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash START=`date +%s` diff --git a/8.0/scripts/___mysqlimport.sh b/8.0/scripts/___mysqlimport.sh index 466ebf9..d8690a8 100755 --- a/8.0/scripts/___mysqlimport.sh +++ b/8.0/scripts/___mysqlimport.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e diff --git a/8.0/scripts/mysql_exporter b/8.0/scripts/mysql_exporter index 7242d60..2248dd3 100755 --- a/8.0/scripts/mysql_exporter +++ b/8.0/scripts/mysql_exporter @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e diff --git a/8.0/scripts/mysql_importer b/8.0/scripts/mysql_importer index 7b53f34..33db069 100755 --- a/8.0/scripts/mysql_importer +++ b/8.0/scripts/mysql_importer @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e