Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use $$PWD variable directly instead of a new local variable
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Wang <yutsung.jim.wang@intel.com>
jim-wang-intel committed Feb 9, 2023
1 parent f2f86e7 commit d3b8725
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -59,8 +59,6 @@ ARCH=$(shell uname -m)

GO_VERSION=$(shell grep '^go [0-9].[0-9]*' go.mod | cut -d' ' -f 2)

CUR_DIR=$(shell pwd)

# DO NOT change the following flag, as it is automatically set based on the boolean switch INCLUDE_DELAYED_START_BUILD_CORE
NON_DELAYED_START_GO_BUILD_TAG_FOR_CORE:=non_delayedstart
ifeq ($(INCLUDE_DELAYED_START_BUILD_CORE),"true")
@@ -349,5 +347,5 @@ vendor:

sbom:
docker run -it --rm \
-v "$(CUR_DIR):/edgex-go" -v "$(CUR_DIR)/sbom:/sbom" \
-v "$$PWD:/edgex-go" -v "$$PWD/sbom:/sbom" \
spdx/spdx-sbom-generator -p /edgex-go/ -o /sbom/ --include-license-text true

0 comments on commit d3b8725

Please sign in to comment.