[Bug 239293] fetch-list: broken handling of DISTFILES when it has entries with subdirectories
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 5 12:52:09 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239293
--- Comment #14 from Ruslan Garipov <brigadir15 at gmail.com> ---
(In reply to Mathieu Arnold from comment #9)
(In reply to commit-hook from comment #13)
Please add -n to your `echo`:
Index: do-fetch.sh
===================================================================
--- do-fetch.sh (revision 508165)
+++ do-fetch.sh (working copy)
@@ -128,7 +128,7 @@
*/*)
case ${dp_TARGET} in
fetch-list|fetch-url-list-int)
- echo "mkdir -p \"${file%/*}\" && "
+ echo -n "mkdir -p \"${file%/*}\" && "
;;
*)
mkdir -p "${file%/*}"
like in all `echo`s in the file.
I'm usually fetch-list several ports into one file, and then remove
duplicated lines. Without -n in the `echo` above, I'm unable to do
that. Thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list