Blame SOURCES/lvm2-2_02_131-fix-vgimportclone-cache_dir-path-name.patch

a4cb28
 WHATS_NEW                | 1 +
a4cb28
 scripts/vgimportclone.sh | 4 ++--
a4cb28
 2 files changed, 3 insertions(+), 2 deletions(-)
a4cb28
a4cb28
diff --git a/WHATS_NEW b/WHATS_NEW
a4cb28
index f41475c..1718c29 100644
a4cb28
--- a/WHATS_NEW
a4cb28
+++ b/WHATS_NEW
a4cb28
@@ -1,5 +1,6 @@
a4cb28
 Version 2.02.131 - 
a4cb28
 =====================================
a4cb28
+  Fix vgimportclone cache_dir path name (2.02.115).
a4cb28
   Disallow usage of --stripe and --stripesize when creating cache pool.
a4cb28
   Swapping of LV identifiers handles more complex LVs.
a4cb28
   Fix VG metadata comparison failure while scanning the VG for lvmetad.
a4cb28
diff --git a/scripts/vgimportclone.sh b/scripts/vgimportclone.sh
a4cb28
index 388d14c..af8cf5c 100755
a4cb28
--- a/scripts/vgimportclone.sh
a4cb28
+++ b/scripts/vgimportclone.sh
a4cb28
@@ -1,7 +1,7 @@
a4cb28
 #!/bin/bash
a4cb28
 
a4cb28
 # Copyright (C) 2009 Chris Procter All rights reserved.
a4cb28
-# Copyright (C) 2009 Red Hat, Inc. All rights reserved.
a4cb28
+# Copyright (C) 2009-2015 Red Hat, Inc. All rights reserved.
a4cb28
 #
a4cb28
 # This file is part of LVM2.
a4cb28
 #
a4cb28
@@ -239,7 +239,7 @@ LVMCONF=${TMP_LVM_SYSTEM_DIR}/lvm.conf
a4cb28
 
a4cb28
 CMD_CONFIG_LINE="devices { \
a4cb28
                    scan = [ \"${TMP_LVM_SYSTEM_DIR}\" ] \
a4cb28
-                   cache_dir = \"$TMP_LVM_SYSTEM_DIR}/cache\"
a4cb28
+                   cache_dir = \"${TMP_LVM_SYSTEM_DIR}/cache\"
a4cb28
                    global_filter = [ \"a|.*|\" ] \
a4cb28
                    ${FILTER}
a4cb28
                  } \