home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 14 Feb 2020 23:23:17 +0000 (00:23 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 14 Feb 2020 23:23:17 +0000 (00:23 +0100)
buster/setup_scripts/restore_app.sh

index c4520824d32e22fc7c547ae8296f59e2a1df6fa9..46e958796d8663af8781a903335a6e595e6faf84 100755 (executable)
@@ -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}")