Skip to content

Fix the use of head in the patch-tool script

Tobias Haslop requested to merge tobias/head.hackage:pkg-dir-fix into master

Running ./scripts/patch-tool unpack hgeometry is special insofar as ls -d hgeometry* returns not one but two results:

hgeometry-0.14
hgeometry-combinatorial-0.14

This changes the subsequent call of head to print only the first line.

Merge request reports