aboutsummaryrefslogtreecommitdiff
path: root/scuttler
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-16 15:04:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-10-16 15:04:51 -0300
commit58228b69d454c835e90a4eb3219ac6a6653d0836 (patch)
treef43b54638365cec9604bf6eb610048831dc2c7ec /scuttler
parent73460c13773e040d75aa26b9ee6cd48c94649b79 (diff)
downloadhttruta-58228b69d454c835e90a4eb3219ac6a6653d0836.tar.gz
httruta-58228b69d454c835e90a4eb3219ac6a6653d0836.tar.bz2
Initial code for webkit2png and wkhtmltopdf
Diffstat (limited to 'scuttler')
-rwxr-xr-xscuttler4
1 files changed, 4 insertions, 0 deletions
diff --git a/scuttler b/scuttler
index e4f7419..3275712 100755
--- a/scuttler
+++ b/scuttler
@@ -6,6 +6,10 @@
# Load and initialize
source `dirname $0`/lib/httracker/functions || exit 1
+# Parameters
+DIRNAME="`dirname $0`"
+BASENAME="`basename $0`"
+
# Other parameters
SCUTTLEDIR="`basename $( find ${SCUTTLE_BASE} -maxdepth 1 -iname "SemanticScuttle-*" | head -n 1 )`"
CONFIGFILE="${SCUTTLE_BASE}/${SCUTTLEDIR}/data/config.php"