adding back the host dir in the path, somehow it was removed

This commit is contained in:
soulgalore 2014-02-07 10:13:50 +01:00
parent 17dee84eb3
commit f56c2916f7
1 changed files with 1 additions and 0 deletions

View File

@ -435,6 +435,7 @@ if [[ -z $FILE ]]
# remove the protocol
local noprotocol=${URL#*//}
HOST=${noprotocol%%/*}
BASE_DIR=$HOST
else
echo "Will fetch urls from the file $FILE with User-Agent $USER_AGENT and viewport $VIEWPORT using ruleset $RULESET ... this can take a while"
BASE_DIR=$(basename "$FILE")