Skip to content

Commit

Permalink
Fix VDR version detection in Makefile
Browse files Browse the repository at this point in the history
Thanks to TomJoad@VDR-Portal
  • Loading branch information
M-Reimer committed Aug 19, 2020
1 parent dc0086e commit 17df551
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ else
endif

# post 1.7.33 vdr?
FLAG_NEWSTYLE=false
$(shell [ $(APIVERSNUM) -gt 10733 ] && FLAG_NEWSTYLE=true)
FLAG_NEWSTYLE = $(shell [ $(APIVERSNUM) -gt 10733 ] && echo true || echo false)

# do some adaptions and defaults for old vdr versions
ifeq ($(FLAG_NEWSTYLE),false)
Expand Down

0 comments on commit 17df551

Please sign in to comment.