Permalink
Browse files

Fix: dump file to use must be last one

  • Loading branch information...
1 parent 8562cb6 commit df4f59db8a7d680783519ce33f0d855857dfc532 @eldy eldy committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dev/initdata/initdemo.sh
View
@@ -11,7 +11,7 @@
#------------------------------------------------------
-export dumpfile="mysqldump_dolibarr_3.2.0.sql"
+export dumpfile=`ls mysqldump_dolibarr_*.sql | sort | tail -n 1`
export mydir=`echo "$0" | sed -e 's/initdemo.sh//'`;
if [ "x$mydir" = "x" ]
then

0 comments on commit df4f59d

Please sign in to comment.