Skip to content

Commit

Permalink
Update module.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
wandmagic committed Jan 13, 2025
1 parent c01afed commit f66de5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validations/module.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Variables
OSCAL_VERSION = $(shell jq -r .dependencies.oscal package.json)
ifdef USE_SNAPSHOT
OSCAL_CLI_VERSION = $(shell awk '/^oscal-cli-snapshot/ {print $$2}' .tool-versions)
OSCAL_SERVER_VERSION = $(shell awk '/^oscal-server-snapshot/ {print $$2}' .tool-versions)
OSCAL_CLI_VERSION = $(shell awk '/^oscal-cli-snapshot / {print $$2}' .tool-versions)
OSCAL_SERVER_VERSION = $(shell awk '/^oscal-server-snapshot / {print $$2}' .tool-versions)
else
OSCAL_CLI_VERSION = $(shell awk '/^oscal-cli / {print $$2}' .tool-versions)
OSCAL_SERVER_VERSION = $(shell awk '/^oscal-server / {print $$2}' .tool-versions)
Expand Down

0 comments on commit f66de5d

Please sign in to comment.