From: Christian Heller Date: Fri, 14 Feb 2020 23:23:17 +0000 (+0100) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/unset_cookie?a=commitdiff_plain;h=6d9f8977e3cf474d95b8e19a62fab15ecfb676de;p=config Fix. --- 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}")