Skip to content

Commit

Permalink
remove realpath as snapshot dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
  • Loading branch information
wagoodman committed Nov 2, 2021
1 parent 292bdfd commit 19b9013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ GITTREESTATE=$(if $(shell git status --porcelain),dirty,clean)
OS := $(shell uname)

ifeq ($(OS),Darwin)
SNAPSHOT_CMD=$(shell realpath $(shell pwd)/$(SNAPSHOTDIR)/$(BIN)-macos_darwin_amd64/$(BIN))
SNAPSHOT_CMD=$(shell pwd)/$(SNAPSHOTDIR)/$(BIN)-macos_darwin_amd64/$(BIN)
else
SNAPSHOT_CMD=$(shell realpath $(shell pwd)/$(SNAPSHOTDIR)/$(BIN)_linux_amd64/$(BIN))
SNAPSHOT_CMD=$(shell pwd)/$(SNAPSHOTDIR)/$(BIN)_linux_amd64/$(BIN)
endif

ifeq "$(strip $(VERSION))" ""
Expand Down

0 comments on commit 19b9013

Please sign in to comment.