Commit 66b568c5 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget fix: preserve -P output directory when downloading multiple URLs

parent 0ae0a236
...@@ -1882,7 +1882,7 @@ fi ...@@ -1882,7 +1882,7 @@ fi
if is_url "$MASK" ; then if is_url "$MASK" ; then
#[ -z "$USEOUTPUTDIR" ] && fatal "eget supports only one URL as argument by default, use --output-dir to download in parallel" #[ -z "$USEOUTPUTDIR" ] && fatal "eget supports only one URL as argument by default, use --output-dir to download in parallel"
USEOUTPUTDIR="." [ -z "$USEOUTPUTDIR" ] && USEOUTPUTDIR="."
fi fi
# if more than one file or if --output-dir is used # if more than one file or if --output-dir is used
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment