Date: Thu, 10 Mar 2016 07:37:45 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207875] fetch-list does not store into DIST_SUBDIR Message-ID: <bug-207875-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207875 Bug ID: 207875 Summary: fetch-list does not store into DIST_SUBDIR Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: darius@dons.net.au CC: freebsd-ports-bugs@FreeBSD.org I use fetch-recursive-list to get distfiles to non-networked jails, however= I have to move anything using DIST_SUBDIR manually as it just puts them in CW= D. Perusing fetch-list I see... DIR=3D${DIST_SUBDIR};\ CKSIZE=3D`alg=3DSIZE; ${DISTINFO_DATA}`; \ case $${file} in \ */*) args=3D"-o $${file} $${site}$${file= }";; \ *) args=3D$${site}$${file};; \ esac; \ ${ECHO_CMD} -n ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} "${FETCH_AFTER_ARGS}" '|| ' ; \ Which looks odd as 'DIR' is never used - was this feature removed or broken= by mistake? I would expect (ho ho ho) it to be relatively easy to check if DIST_SUBDIR = is set and if so add something like if [ ! -d ${DIST_SUBDIR} ]; then; mkdir ${DIST_SUBDIR}; fi; ( cd ${DIST_SUBDIR} ; .... ) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207875-13>