[Bug 269432] ports: FETCH_ARGS / FETCH_CMD can't accept a string with spaces

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Feb 2023 00:21:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269432

--- Comment #6 from Pat Maddox <pat@patmaddox.com> ---
(In reply to Mathieu Arnold from comment #4)

Thanks for taking a look. I'll use do-fetch!

fwiw there's at least one other person out there doing this:
https://github.com/freebsd/poudriere/discussions/1017

For anyone interested:

do-fetch:
        if [ ! -f ${DISTDIR}/${DISTFILES} ]; then /usr/local/bin/curl -o
${DISTDIR}/${DISTFILES} -s -f -H "Authorization: token ${GH_TOKEN}"
https://codeload.github.com/${GH_ACCOUNT}/${GH_PROJECT}/tar.gz/${GH_TAGNAME} ;
fi

-- 
You are receiving this mail because:
You are on the CC list for the bug.