Skip to content

Commit

Permalink
Custom godot fix
Browse files Browse the repository at this point in the history
Respect GODOT variable for version / release determination
  • Loading branch information
bell07 authored and ShadowApex committed May 18, 2024
1 parent fc343ab commit a2364c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PREFIX ?= $(HOME)/.local
CACHE_DIR ?= .cache
ROOTFS ?= $(CACHE_DIR)/rootfs
OGUI_VERSION ?= $(shell grep 'core = ' core/global/version.tres | cut -d '"' -f2)
GODOT_VERSION ?= $(shell godot --version | grep -o '[0-9].*[0-9]\.' | sed 's/.$$//')
GODOT_RELEASE ?= $(shell godot --version | grep -oP '^[0-9].*?[a-z]\.' | grep -oP '[a-z]+')
GODOT_REVISION := $(GODOT_VERSION).$(GODOT_RELEASE)
GODOT ?= /usr/bin/godot
GODOT_VERSION ?= $(shell $(GODOT) --version | grep -o '[0-9].*[0-9]\.' | sed 's/.$$//')
GODOT_RELEASE ?= $(shell $(GODOT) --version | grep -oP '^[0-9].*?[a-z]\.' | grep -oP '[a-z]+')
GODOT_REVISION := $(GODOT_VERSION).$(GODOT_RELEASE)
GAMESCOPE ?= /usr/bin/gamescope
GAMESCOPE_CMD ?= $(GAMESCOPE) -e --xwayland-count 2 --

Expand Down

0 comments on commit a2364c0

Please sign in to comment.