Fix default filename of dump
This commit is contained in:
parent
aa5f35f14f
commit
24e5b6ab79
@ -38,7 +38,7 @@ passwd=$5;
|
|||||||
# ----------------------------- if no params on command line
|
# ----------------------------- if no params on command line
|
||||||
if [ "x$passwd" = "x" ]
|
if [ "x$passwd" = "x" ]
|
||||||
then
|
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`
|
export dumpfile=`basename $dumpfile`
|
||||||
|
|
||||||
# ----------------------------- input file
|
# ----------------------------- input file
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user