fix: do recursive creating of backup folders
Some checks failed
Caprover: Build & Deploy (backup-databases) / build (push) Failing after 50s

This commit is contained in:
2024-11-08 08:53:27 -03:00
parent 2134c5f965
commit 60b0b467f8

View File

@@ -16,7 +16,7 @@ while test $# -gt 0; do
shift;
if test "${arg_value}" = "--save"; then
output_path=${OFELIA_CONFIG_PATH:-/etc/ofelia/config.ini};
mkdir $(dirname $output_path);
mkdir -p $(dirname $output_path);
touch ${output_path};
fi
done