summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-08-27 16:19:37 +0200
committerThomas Haller <thaller@redhat.com>2019-08-27 16:31:55 +0200
commit081b16cdb8dadddf750065674f44208e5cec9314 (patch)
tree5cce19cb3be0054a4ddd9002ad71044bafa5d7cc /contrib
parent01ef7c4079506b9ebd025cd8604205365d194a37 (diff)
downloadNetworkManager-081b16cdb8dadddf750065674f44208e5cec9314.tar.gz
contrib/rpm: explicitly set runstatedir to "/run" when building release tarball
Nowadays, we should prefer "/run" over "/var/run". When not specifying during ./configure, autotools however still defaults to "/var/run". This default is also visible in the pre-generated documenation, for example `man NetworkManager.conf` says Unless the symlink points to the internal file /run/NetworkManager/resolv.conf, in which case the ...
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fedora/rpm/build_clean.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/fedora/rpm/build_clean.sh b/contrib/fedora/rpm/build_clean.sh
index 8a22792e20..2b0eb8abdb 100755
--- a/contrib/fedora/rpm/build_clean.sh
+++ b/contrib/fedora/rpm/build_clean.sh
@@ -130,6 +130,7 @@ fi
if [[ $NO_DIST != 1 ]]; then
./autogen.sh \
+ --with-runstatedir=/run \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \