summaryrefslogtreecommitdiff
path: root/hib-dlagent
diff options
context:
space:
mode:
Diffstat (limited to 'hib-dlagent')
-rwxr-xr-xhib-dlagent3
1 files changed, 2 insertions, 1 deletions
diff --git a/hib-dlagent b/hib-dlagent
index 0396633..9863a2e 100755
--- a/hib-dlagent
+++ b/hib-dlagent
@@ -20,9 +20,10 @@ STORAGE=
discover_url() {
local LISTING_PAGE="$1"
# Running a new shell in order to split PHANTOM_JS_OPTIONS into multiple arguments
+ PASSWORD="$PASSWORD" \
sh -c "phantomjs --config='$CONFIG_PATH'/phantomjs-config.json --cookies-file='$COOKIE_JAR' \
$PHANTOM_JS_OPTIONS \
- '$SCRIPT_PATH'/discover-url.coffee '$LISTING_PAGE' '$FILE' '$USERNAME' '$PASSWORD'"
+ '$SCRIPT_PATH'/discover-url.coffee '$LISTING_PAGE' '$FILE' '$USERNAME'"
}
usage() {