From 8d72f4f1c3060c2effd66215439fff27bbaeebde Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 14 Mar 2019 13:29:49 +0100 Subject: [PATCH] Revert "debian/tests/unit-config: Tolerate path variations" The double slashes got fixed properly upstream again: https://github.com/systemd/systemd/commit/23bdba61b This reverts commit 3da52a0fab3cfaf03796f26b68a9ddfa362b699c. --- debian/tests/unit-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/tests/unit-config b/debian/tests/unit-config index c99f51e39..1cfa4d432 100755 --- a/debian/tests/unit-config +++ b/debian/tests/unit-config @@ -10,9 +10,9 @@ import sys import tempfile from glob import glob -system_unit_dir = os.path.realpath(subprocess.check_output( +system_unit_dir = subprocess.check_output( ['pkg-config', '--variable=systemdsystemunitdir', 'systemd'], - universal_newlines=True).strip()) + universal_newlines=True).strip() systemd_sysv_install = os.path.join(os.path.dirname(system_unit_dir), 'systemd-sysv-install')