diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-24 02:41:46 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-24 02:41:46 +0200 |
| commit | 131d8b1a79749ca0977a16532c0738fdfc767001 (patch) | |
| tree | 891c98ba1076a5a4d84580d046e109123605f98d | |
| parent | 168285b4569f862443419a2bffe221e1a8ab8150 (diff) | |
Replace the shell command in Makefile with backticks to retrieve git version for stats
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -59,7 +59,7 @@ FEATURES+=-DWANT_FULLSCRAPE | |||
| 59 | #FEATURES+=-D_DEBUG_HTTPERROR | 59 | #FEATURES+=-D_DEBUG_HTTPERROR |
| 60 | #FEATURES+=-D_DEBUG_RANDOMTORRENTS | 60 | #FEATURES+=-D_DEBUG_RANDOMTORRENTS |
| 61 | 61 | ||
| 62 | GIT_VERSION=$(shell sh -c 'command -v git >/dev/null && test -d .git && git rev-parse HEAD || echo _git_or_commit_not_found_') | 62 | GIT_VERSION=`sh -c 'command -v git >/dev/null && test -d .git && git rev-parse HEAD || echo _git_or_commit_not_found_'` |
| 63 | 63 | ||
| 64 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage | 64 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage |
| 65 | OPTS_production=-O3 | 65 | OPTS_production=-O3 |
