Skip to content

Commit

Permalink
use $(AWK) rather than just awk
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed May 1, 2023
1 parent 4dfeab6 commit 5cd1c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -60,7 +60,7 @@ all: subdirs version
.PHONY: all

version:
echo $(AN_GIT_REVISION) | awk -F - '{printf "__version__ = \""; if (NF>2) {printf $$1".dev"$$2} else {printf $$1}; print "\""}' > __init__.py
echo $(AN_GIT_REVISION) | $(AWK) -F - '{printf "__version__ = \""; if (NF>2) {printf $$1".dev"$$2} else {printf $$1}; print "\""}' > __init__.py
.PHONY: version

check: pkgconfig
Expand Down

0 comments on commit 5cd1c39

Please sign in to comment.