aboutsummaryrefslogtreecommitdiff
path: root/scuttler
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 22:10:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 22:10:17 -0300
commitad49b915a0c6fee46015bad16fa5bfa5d0082325 (patch)
tree5788b239b0ce405c7a52a8dfd8aea79f83a1b842 /scuttler
parent21ae99b51e99439dafacd166236039a731597096 (diff)
downloadhttruta-ad49b915a0c6fee46015bad16fa5bfa5d0082325.tar.gz
httruta-ad49b915a0c6fee46015bad16fa5bfa5d0082325.tar.bz2
More scuttler coding
Diffstat (limited to 'scuttler')
-rwxr-xr-xscuttler14
1 files changed, 7 insertions, 7 deletions
diff --git a/scuttler b/scuttler
index 56715c5..cb49918 100755
--- a/scuttler
+++ b/scuttler
@@ -13,13 +13,13 @@ source `dirname $0`/lib/httracker/functions || exit 1
httracker_setup_folders
# Other parameters
-BASEDIR=/var/sites/links
-SCUTTLEDIR=`basename $( find ${BASEDIR} -maxdepth 1 -iname "SemanticScuttle-*" | head -n 1 )`
-CONFIGFILE=${BASEDIR}/${SCUTTLEDIR}/data/config.php
-DBUSER=`httracker_scuttle_config dbuser`
-DBPASS=`httracker_scuttle_config dbpass`
-DBNAME=`httracker_scuttle_config dbname`
-DBHOST=`httracker_scuttle_config dbhost`
+SCUTTLE_BASE="/var/sites/links"
+SCUTTLEDIR="`basename $( find ${SCUTTLE_BASE} -maxdepth 1 -iname "SemanticScuttle-*" | head -n 1 )`"
+CONFIGFILE="${SCUTTLE_BASE}/${SCUTTLEDIR}/data/config.php"
+DBUSER="`httracker_scuttle_config dbuser`"
+DBPASS="`httracker_scuttle_config dbpass`"
+DBNAME="`httracker_scuttle_config dbname`"
+DBHOST="`httracker_scuttle_config dbhost`"
# So we can run both applications in parallel
URLS="$URLS_SCUTTLER"