Don't do weird things if files starting with a hyphen exist in the build
authorDavid Given <dg@cowlark.com>
Wed, 13 Feb 2019 21:42:05 +0000 (22:42 +0100)
committerDavid Given <dg@cowlark.com>
Wed, 13 Feb 2019 21:42:05 +0000 (22:42 +0100)
directory.

Makefile

index 95755a9..d8fa040 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ BUILDSYSTEM = make
 endif
 
 build-file = $(BUILDDIR)/build.$(BUILDSYSTEM)
-lua-files = $(shell find * -name 'build*.lua')
+lua-files = $(shell find . -name 'build*.lua')
 our-lua = $(BUILDDIR)/lua
 
 # GNU make sets MAKECMDGOALS to the list of targets from the command