Skip to content

Commit

Permalink
Chore: Fix documentation Makefile for machines w/o the python cmd
Browse files Browse the repository at this point in the history
Newer machines don't have `python`, just `python2` and `python3`.
  • Loading branch information
amotl committed Oct 6, 2024
1 parent af32409 commit aaf9ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ SRC_MAKE := $(MAKE) -f $(SRC_DIR)/rules.mk

# Parse the JSON file
BUILD_VERSION := $(shell cat $(BUILD_JSON) | \
python -c 'import json, sys; print(json.load(sys.stdin)["message"])')
python3 -c 'import json, sys; print(json.load(sys.stdin)["message"])')

ifeq ($(BUILD_VERSION),)
$(error No build version specified in `$(BUILD_JSON)`.)
Expand Down

0 comments on commit aaf9ca6

Please sign in to comment.