aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:06:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:06:23 -0300
commit43ba49b97c18ba7efa0e80b855cbf7297822a40e (patch)
treeabdcba039ae15f4622c315ba7beda11f6643fe58
parent2df3dcc9ecb7c181b31cd38308b0b6db5d053b59 (diff)
downloadhttruta-43ba49b97c18ba7efa0e80b855cbf7297822a40e.tar.gz
httruta-43ba49b97c18ba7efa0e80b855cbf7297822a40e.tar.bz2
Create folders on scuttler
-rwxr-xr-xscuttler3
1 files changed, 3 insertions, 0 deletions
diff --git a/scuttler b/scuttler
index c02e992..472a922 100755
--- a/scuttler
+++ b/scuttler
@@ -9,6 +9,9 @@ source config || exit 1
# Functions
source lib/httracker/functions || exit 1
+# Create folders
+mkdir -p $MIRRORS $TMP
+
# Other parameters
BASEDIR=/var/sites/links
SCUTTLEDIR=`basename $( find ${BASEDIR} -maxdepth 1 -iname "SemanticScuttle-*" | head -n 1 )`