aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-20 06:34:08 -0400
committerGitHub <noreply@github.com>2020-04-20 06:34:08 -0400
commit02c2fbc4cd72524dfa65ba36bddfd5c4076a9512 (patch)
treee3c056d07911f81e0fdbdf9b0338c5f499e2facb
parente4e42b28dfef0ffd12f2087048dec61f9cb03976 (diff)
parenta58c59f401f88bd78a78ed859f0741e6da5eb619 (diff)
downloadpodman-02c2fbc4cd72524dfa65ba36bddfd5c4076a9512.tar.gz
podman-02c2fbc4cd72524dfa65ba36bddfd5c4076a9512.tar.bz2
podman-02c2fbc4cd72524dfa65ba36bddfd5c4076a9512.zip
Merge pull request #5880 from abitrolly/patch-2
Make `find` ignore dot files
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5b6bcc42f..d4edbd5f7 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ PKG_MANAGER ?= $(shell command -v dnf yum|head -n1)
# ~/.local/bin is not in PATH on all systems
PRE_COMMIT = $(shell command -v bin/venv/bin/pre-commit ~/.local/bin/pre-commit pre-commit | head -n1)
-SOURCES = $(shell find . -name "*.go")
+SOURCES = $(shell find . -path './.*' -prune -o -name "*.go")
GO_BUILD=$(GO) build
# Go module support: set `-mod=vendor` to use the vendored sources