]> git.parisson.com Git - docker-django-scripts.git/commitdiff
Fix restore_db option
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 23 Aug 2018 16:50:45 +0000 (18:50 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 23 Aug 2018 16:50:54 +0000 (18:50 +0200)
dev/pull_data.sh

index e825dcc1654598c0eee748b14a4a73602f91e331..f52eb5f5ed17a28c28009d26fe6df527f51504e0 100755 (executable)
@@ -10,5 +10,6 @@ git pull
 
 # Restore database
 if [ "$1" = "--restore-db" ]; then
-    docker-compose run db /srv/bin/dev/restore_db.sh
+    cd ..
+    bin/dev/restore_db_only.sh
 fi