diff options
author | Profpatsch <mail@profpatsch.de> | 2016-10-11 18:09:56 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-10-11 18:34:36 +0200 |
commit | bef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4 (patch) | |
tree | 6f7439b3f02e47ed1960a0b4d62ee4c01ef6d7af /pkgs/data/sgml+xml | |
parent | 8417c3aae100c1a46e423804a2f6a85a82816685 (diff) |
stdenv/stripHash: print to stdout, not to variable
`stripHash` documentation states that it prints out the stripped name to the stdout, but the function stored the value in `strippedName` instead. Basically all usages did something like `$(stripHash $foo | echo $strippedName)` which is just braindamaged. Fixed the implementation and all invocations.
Diffstat (limited to 'pkgs/data/sgml+xml')
-rw-r--r-- | pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/builder.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/builder.sh b/pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/builder.sh index 70fd729297c05..939305d486a77 100644 --- a/pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/builder.sh +++ b/pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/builder.sh @@ -3,5 +3,4 @@ source $stdenv/setup mkdir -p $out/xml/dtd/docbook-ebnf cd $out/xml/dtd/docbook-ebnf cp -p $dtd dbebnf.dtd -stripHash $catalog -cp -p $catalog $strippedName +cp -p $catalog $(stripHash $catalog) |