aboutsummaryrefslogtreecommitdiff
path: root/scuttler
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:16:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:16:26 -0300
commitd895c52d6c00bbeac3c5a884d1e88f6ff6b00257 (patch)
tree3f775baa4ba6f352114a6429ab2526c782b7cd1d /scuttler
parenta711ce74556047824a480b9033f0d22d1f6fa704 (diff)
downloadhttruta-d895c52d6c00bbeac3c5a884d1e88f6ff6b00257.tar.gz
httruta-d895c52d6c00bbeac3c5a884d1e88f6ff6b00257.tar.bz2
So we can run both applications in parallel...
Diffstat (limited to 'scuttler')
-rwxr-xr-xscuttler5
1 files changed, 4 insertions, 1 deletions
diff --git a/scuttler b/scuttler
index 6bc90db..1136852 100755
--- a/scuttler
+++ b/scuttler
@@ -21,6 +21,9 @@ 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"
+
# Get URLs from database
URLS=`mktemp -p ${TMP}`
chown links.links ${URLS}
@@ -34,4 +37,4 @@ httracker_sqlquery "select bAddress from sc_bookmarks;" > ${URLS}
httracker_iterate
# Cleanup
-rm -rf $TMP
+rm -rf $URLS