Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105945482
D40808.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D40808.diff
View Options
diff --git a/Mk/Scripts/do-fetch.sh b/Mk/Scripts/do-fetch.sh
--- a/Mk/Scripts/do-fetch.sh
+++ b/Mk/Scripts/do-fetch.sh
@@ -123,23 +123,24 @@
for site in ${sites}; do
sites_remaining=$((sites_remaining - 1))
CKSIZE=$(distinfo_data SIZE "${full_file}")
- # There is a lot of escaping, but the " needs to survive echo/eval.
+ early_args=""
case ${file} in
*/*)
case ${dp_TARGET} in
- fetch-list|fetch-url-list-int)
- echo "mkdir -p \"${file%/*}\" && "
- ;;
- *)
- mkdir -p "${file%/*}"
- ;;
+ fetch-list)
+ echo "mkdir -p \"${file%/*}\" && "
+ early_args="-o ${file}"
+ ;;
+ fetch-url-list-int)
+ ;;
+ *)
+ mkdir -p "${file%/*}"
+ early_args="-o ${file}"
+ ;;
esac
- args="-o ${file} ${site}${file}"
- ;;
- *)
- args="${site}${file}"
- ;;
+ ;;
esac
+ args="${early_args:+${early_args} }${site}${file}"
_fetch_cmd="${dp_FETCH_CMD} ${dp_FETCH_BEFORE_ARGS}"
if [ -z "${dp_DISABLE_SIZE}" -a -n "${CKSIZE}" ]; then
_fetch_cmd="${_fetch_cmd} -S ${CKSIZE}"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 10:52 PM (19 h, 39 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15580616
Default Alt Text
D40808.diff (1 KB)
Attached To
Mode
D40808: framework: Fix fetch-url-list and fetch-urlall-list
Attached
Detach File
Event Timeline
Log In to Comment