Skip to content

Commit

Permalink
Makefile: make version determination more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Aug 8, 2022
1 parent 7f4fab5 commit 86f99b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION := $(shell cat version)
VERSION := $(or $(file <version),$(error Cannot determine version))
URL := https://www.tarsnap.com/scrypt/scrypt-$(VERSION).tgz
SIG_URL := https://www.tarsnap.com/scrypt/scrypt-sigs-$(VERSION).asc
ifndef SRC_FILE
Expand Down

0 comments on commit 86f99b1

Please sign in to comment.