]> TLD Linux GIT Repositories - packages/lvm2.git/blobdiff - lvm2-run-dir.patch
- updated to 2.03.21
[packages/lvm2.git] / lvm2-run-dir.patch
index d0435ae6cca5cf38002e55b33011397ea99c9c13..103be5389677fc6171cbb32551646e8bb22ce5ea 100644 (file)
@@ -1,13 +1,13 @@
-diff -urp LVM2.2.03.00.orig/configure.ac LVM2.2.03.00/configure.ac
---- LVM2.2.03.00.orig/configure.ac     2018-10-21 14:35:34.502416609 +0000
-+++ LVM2.2.03.00/configure.ac  2018-10-21 14:35:49.006416609 +0000
-@@ -681,8 +681,7 @@ pkg_config_init() {
+diff -ur LVM2.2.03.21.orig/configure.ac LVM2.2.03.21/configure.ac
+--- LVM2.2.03.21.orig/configure.ac     2023-07-10 11:28:44.248485213 +0200
++++ LVM2.2.03.21/configure.ac  2023-07-10 11:29:32.276164664 +0200
+@@ -706,8 +706,7 @@
  
  ################################################################################
- AC_MSG_CHECKING(for default run directory)
+ AC_MSG_CHECKING([for default run directory])
 -RUN_DIR="/run"
--test -d "/run" || RUN_DIR="/var/run"
+-AS_IF([test ! -d "$RUN_DIR"], [RUN_DIR="/var/run"])
 +RUN_DIR="/var/run"
- AC_MSG_RESULT($RUN_DIR)
+ AC_MSG_RESULT([$RUN_DIR])
  dnl -- Set up pidfile and run directory
  AH_TEMPLATE(DEFAULT_PID_DIR)