Skip to content

Commit ec84197

Browse files
Fix make touch shard.lock when SHARDS=false (#667)
1 parent 182792a commit ec84197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ lib: shard.lock
109109
$(SHARDS) install || (curl -L $(MOLINILLO_URL) | tar -xzf - -C lib/molinillo --strip-components=1)
110110

111111
shard.lock: shard.yml
112-
[ $(SHARDS) = false ] || $(SHARDS) update
112+
([ $(SHARDS) = false ] && touch $@) || $(SHARDS) update
113113

114114
man/%.gz: man/%
115115
gzip -c -9 $< > $@

0 commit comments

Comments
 (0)