uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
22
pkgs/tools/text/sgml/opensp/setup-hook.sh
Normal file
22
pkgs/tools/text/sgml/opensp/setup-hook.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
addSGMLCatalogs () {
|
||||
if test -d $1/sgml/dtd; then
|
||||
for i in $(find $1/sgml/dtd -name docbook.cat); do
|
||||
export SGML_CATALOG_FILES="${SGML_CATALOG_FILES:+:}$i"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
if test -z "${sgmlHookDone-}"; then
|
||||
sgmlHookDone=1
|
||||
|
||||
# Set http_proxy and ftp_proxy to a invalid host to prevent
|
||||
# xmllint and xsltproc from trying to download DTDs from the
|
||||
# network even when --nonet is not given. That would be impure.
|
||||
# (Note that .invalid is a reserved domain guaranteed not to
|
||||
# work.)
|
||||
export http_proxy=http://nodtd.invalid/
|
||||
export ftp_proxy=http://nodtd.invalid/
|
||||
|
||||
export SGML_CATALOG_FILES
|
||||
addEnvHooks "$targetOffset" addSGMLCatalogs
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue