diff options
| author | Joshua Boniface <joshua@boniface.me> | 2018-12-28 10:25:19 -0500 |
|---|---|---|
| committer | Joshua Boniface <joshua@boniface.me> | 2018-12-28 10:25:19 -0500 |
| commit | 022955d9ac011ff4feac03c8c656a2e0c7e1790f (patch) | |
| tree | 2a6ce502b30989857f3693d023ae21db5599fa02 | |
| parent | a86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 (diff) | |
Move the .NET Runtime flag into a variable
| -rwxr-xr-x | debian/rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 6c915af6f..10a3a8486 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,7 @@ CONFIG := Release TERM := xterm SHELL := /bin/bash +DOTNETRUNTIME := linux-x64 export DH_VERBOSE=1 export DOTNET_CLI_TELEMETRY_OPTOUT=1 @@ -15,7 +16,7 @@ override_dh_auto_test: override_dh_clistrip: override_dh_auto_build: - dotnet publish --configuration $(CONFIG) --output='$(CURDIR)/usr/lib/jellyfin/bin' --self-contained --runtime linux-x64 + dotnet publish --configuration $(CONFIG) --output='$(CURDIR)/usr/lib/jellyfin/bin' --self-contained --runtime $(DOTNETRUNTIME) override_dh_auto_clean: dotnet clean -maxcpucount:1 --configuration $(CONFIG) || true |
