Skip to content

Commit

Permalink
Update restore.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirocow committed Feb 16, 2016
1 parent 9b0bdb0 commit 971c2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ restore()
f_log "Error: Database $BDD dose not exists";
else

tables=$(ls -1 $DIR/$BDD | grep -v __ | grep -v _part_ | awk -F. '{print $1}' | sort | uniq)
tables=$(ls -1 $DIR/$BDD | grep -v __ | grep .sql | awk -F. '{print $1}' | sort | uniq)

f_log "Create tables in $BDD"
for TABLE in $tables; do
Expand Down

0 comments on commit 971c2d0

Please sign in to comment.