aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:03:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:03:30 -0300
commit0c524f2b8e994362631cd8537220b1861a121f5f (patch)
treef83af8c28e1b0d9ccd2c42079b4aedd07321f14e
parent9b776add4b73348db605dc988ba99f83d281cdbd (diff)
downloadhttruta-0c524f2b8e994362631cd8537220b1861a121f5f.tar.gz
httruta-0c524f2b8e994362631cd8537220b1861a121f5f.tar.bz2
Minor fixes
-rw-r--r--lib/httracker/functions4
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} \