From 6d9f8977e3cf474d95b8e19a62fab15ecfb676de Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 15 Feb 2020 00:23:17 +0100 Subject: [PATCH] Fix. --- buster/setup_scripts/restore_app.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buster/setup_scripts/restore_app.sh b/buster/setup_scripts/restore_app.sh index c452082..46e9587 100755 --- a/buster/setup_scripts/restore_app.sh +++ b/buster/setup_scripts/restore_app.sh @@ -23,7 +23,7 @@ su postgres -c "pg_restore -c -1 -d ${db_name} ${app}_backup/${db_name}.pgdump" rm "${app}_backup/${db_name}.pgdump" cd "${app}_backup" -for path in $/find . -type f); do +for path in $(find . -type f); do target_path=$(echo "${path}" | cut -c2-) source_path=$(realpath "${path}") dir=$(dirname "${target_path}") -- 2.30.2