mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-23 20:51:43 +00:00
cdd0886479
and he has his own ftp-get routine, but knowing how complex the TeX distribution is, I suspect that all of this obfuscation is probably justified! Submitted by: jmz
14 lines
356 B
Bash
14 lines
356 B
Bash
#!/bin/sh
|
|
|
|
if [ $# != 3 ]; then exit 1; fi
|
|
|
|
#
|
|
# The subdirectory searching in kpathsearch sometimes fails (don't know why)
|
|
# so let's disable the feature (It can be reenabled with the proper environment
|
|
# variables though.
|
|
#
|
|
cd $3/kpathsea || exit 1;
|
|
mv paths.h.in paths.h.in.orig || exit 1;
|
|
sed -e s://:/: <paths.h.in.orig >paths.h.in || exit 1;
|
|
|
|
exit 0; |