freebsd-ports/Mk/Scripts
Mathieu Arnold c5f7a50a9d Fix fetch-list when running as a user.
The fetch-list target is used to generate a shell script that will more
or less replicates what do-fetch does. It allows one to do most things
as a regular user, and generate that script to run, say, on another
machine, if the one where you build things does not have access to the
internet, or has much slower access.

It was failing when DISTDIR was not writable by the current user, and
the port had a distribution file with a path in it. (Not using
DIST_SUBDIR, something else, like lang/rust does.) It was failing
because it was trying to create that subdirectory unconditionally,
instead of only creating the subdirectory if actually had to.  This also
fixes the bug that the generated script did not have the appropriate
mkdirs for those directories.

PR:		239293
Submitted by:	tobik (earlier version)
Reported by:	Ruslan Garipov
Differential Revision:	https://reviews.freebsd.org/D21112
2019-07-31 10:10:35 +00:00
..
actual-package-depends.sh SC2006: Use $(..) instead of legacy ... 2018-06-01 16:20:54 +00:00
cargo-crates.awk
check-desktop-entries.sh
check-stagedir.sh Revert r505129: I still have the wrong version. 2019-06-26 01:07:41 +00:00
check-vulnerable.sh Improve vulnerability checking 2019-05-27 13:02:05 +00:00
check_leftovers.sh Respect UID_FILES. 2019-03-09 18:38:18 +00:00
checksum.sh SC2198: Arrays don't work as operands in [ ]. Use a loop (or concatenate with * instead of @). 2018-06-01 16:20:33 +00:00
create-manifest.sh Use UCL for pkg-message 2019-06-03 12:57:44 +00:00
depends-list.sh SC2046: Quote this to prevent word splitting. 2018-06-08 09:26:20 +00:00
desktop-categories.sh
dialog4ports.sh
do-depends.sh
do-fetch.sh Fix fetch-list when running as a user. 2019-07-31 10:10:35 +00:00
do-patch.sh
do-users-groups.sh
find-lib.sh Use full path to file(1) from base as sysutils/file is buggy 2018-10-06 08:19:19 +00:00
functions.sh Reduce code duplication from r504140. 2019-06-30 23:02:44 +00:00
generate-symbols.sh Don't try splitting symbols out of .a archives. 2019-07-13 17:32:14 +00:00
install-desktop-entries.sh
makesum.sh
plist_sub_sed_sort.sh Extract PLIST_SUB substitutions into a sed script. 2018-07-26 11:09:46 +00:00
ports_env.sh
qa.sh Add lang/julia to the blacklist of ports that other ports must not depend upon. 2019-05-28 09:44:05 +00:00
security-check.awk Convert to readelf. 2018-06-30 08:37:33 +00:00
smart_makepatch.sh Have makepatch ignore "C function prototype". 2019-05-20 13:04:03 +00:00