From 0c524f2b8e994362631cd8537220b1861a121f5f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 25 Aug 2013 20:03:30 -0300 Subject: Minor fixes --- lib/httracker/functions | 4 ++-- 1 file 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} \ -- cgit v1.2.3