diff options
Diffstat (limited to 'lib/httracker/functions')
-rw-r--r-- | lib/httracker/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions index c7dff7f..fbd60c2 100644 --- a/lib/httracker/functions +++ b/lib/httracker/functions @@ -45,7 +45,7 @@ function httracker_get_incremental { # Creates target dir year=`date +%Y` month=`date +%m` - %day=`date +%d` + day=`date +%d` target=${MIRRORDIR}/${year}/${month} sudo -u links mkdir -p ${target} @@ -64,7 +64,7 @@ function httracker_scuttle_config() { grep ${1} ${CONFIGFILE} | sed -e s/\[^\'\]\*\'// -e s/\'\.\*\$// } -httracker_sqlquery() { +function httracker_sqlquery { mysql --skip-column-names --batch \ --user=${dbuser} \ --password=${dbpass} \ |