fix: do recursive creating of backup folders
Some checks failed
Caprover: Build & Deploy (backup-databases) / build (push) Failing after 50s
Some checks failed
Caprover: Build & Deploy (backup-databases) / build (push) Failing after 50s
This commit is contained in:
@@ -16,7 +16,7 @@ while test $# -gt 0; do
|
|||||||
shift;
|
shift;
|
||||||
if test "${arg_value}" = "--save"; then
|
if test "${arg_value}" = "--save"; then
|
||||||
output_path=${OFELIA_CONFIG_PATH:-/etc/ofelia/config.ini};
|
output_path=${OFELIA_CONFIG_PATH:-/etc/ofelia/config.ini};
|
||||||
mkdir $(dirname $output_path);
|
mkdir -p $(dirname $output_path);
|
||||||
touch ${output_path};
|
touch ${output_path};
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user