Fix default filename of dump
This commit is contained in:
parent
aa5f35f14f
commit
24e5b6ab79
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ passwd=$5;
|
|||
# ----------------------------- if no params on command line
|
||||
if [ "x$passwd" = "x" ]
|
||||
then
|
||||
export dumpfile=`ls $mydir/mysqldump_dolibarr_*.sql | sort | tail -n 1`
|
||||
export dumpfile=`ls -v $mydir/mysqldump_dolibarr_*.sql | tail -n 1`
|
||||
export dumpfile=`basename $dumpfile`
|
||||
|
||||
# ----------------------------- input file
|
||||
|
|
|
|||
Loading…
Reference in a new issue