Skip to content

Commit

Permalink
Cleanup: Remove a -n awk option
Browse files Browse the repository at this point in the history
The man page says -n is dangerous and it doesn't seem to do anything in this
case anyway. In anycase this breaks builds on SLES 10/11.

hg-sha:b948ab3d2477
  • Loading branch information
pdunning-xilinx committed May 10, 2018
1 parent d9dfe83 commit 7257ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ifeq ($(SFNT_VERSION),)

SFNT_VERSION := $(shell hg id --id 2>/dev/null || \
( test -f ../.hg_archival.txt && \
awk -n '/node:/{print $$2}' ../.hg_archival.txt ) || \
awk '/node:/{print $$2}' ../.hg_archival.txt ) || \
echo no-version)
else
ifneq ($(SFNT_RELEASE_CSUM),$(SFNT_SRC_CSUM))
Expand Down

0 comments on commit 7257ff6

Please sign in to comment.