FreeBSD Bugzilla – Attachment 206151 Details for
Bug 239293
fetch-list: broken handling of DISTFILES when it has entries with subdirectories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add `mkdir` to Tobias Kortkamp's v0 patch
do-fetch.sh.mkdir.diff (text/plain), 982 bytes, created by
Ruslan Garipov
on 2019-07-30 08:37:23 UTC
(
hide
)
Description:
Add `mkdir` to Tobias Kortkamp's v0 patch
Filename:
MIME Type:
Creator:
Ruslan Garipov
Created:
2019-07-30 08:37:23 UTC
Size:
982 bytes
patch
obsolete
>Index: Mk/Scripts/do-fetch.sh >=================================================================== >--- Mk/Scripts/do-fetch.sh (revision 507627) >+++ Mk/Scripts/do-fetch.sh (working copy) >@@ -107,7 +107,14 @@ > SORTED_MASTER_SITES_CMD_TMP="echo ${dp_MASTER_SITE_OVERRIDE} $(echo -n "${__MASTER_SITES_TMP}" | awk "${dp_MASTER_SORT_AWK}") ${dp_MASTER_SITE_BACKUP}" > case ${dp_TARGET} in > fetch-list) >- echo -n "mkdir -p ${dp_DISTDIR} && " >+ case ${file} in >+ */*) >+ echo -n "mkdir -p \"${dp_DISTDIR}/${file%/*}\" && " >+ ;; >+ *) >+ echo -n "mkdir -p ${dp_DISTDIR} && " >+ ;; >+ esac > echo -n "cd ${dp_DISTDIR} && { " > ;; > esac >@@ -126,7 +133,13 @@ > # There is a lot of escaping, but the " needs to survive echo/eval. > case ${file} in > */*) >- mkdir -p "${file%/*}" >+ case ${dp_TARGET} in >+ fetch-list|fetch-url-list-int) >+ ;; >+ *) >+ mkdir -p "${file%/*}" >+ ;; >+ esac > args="-o ${file} ${site}${file}" > ;; > *)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239293
:
205879
| 206151