diff options
Diffstat (limited to 'pkgs/tools/typesetting/tex/nix/dot2pdf.sh')
-rw-r--r-- | pkgs/tools/typesetting/tex/nix/dot2pdf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/typesetting/tex/nix/dot2pdf.sh b/pkgs/tools/typesetting/tex/nix/dot2pdf.sh index 93ea9099ad1b..c416bf235a14 100644 --- a/pkgs/tools/typesetting/tex/nix/dot2pdf.sh +++ b/pkgs/tools/typesetting/tex/nix/dot2pdf.sh @@ -4,7 +4,7 @@ mkdir -p $out dot2pdf() { sourceFile=$1 - targetName=$out/$(baseHash $sourceFile .dot).pdf + targetName=$out/$(basename $(stripHash $sourceFile; echo $strippedName) .dot).pdf echo "converting $sourceFile to $targetName..." export FONTCONFIG_FILE=$fontsConf dot -Tpdf $sourceFile > $targetName |