Changeset 2701 in MondoRescue


Ignore:
Timestamp:
Jan 27, 2011, 7:31:10 PM (13 years ago)
Author:
Bruno Cornec
Message:

r4177@localhost: bruno | 2011-01-26 19:59:03 +0100

  • Workaround problems met on RHEL 5.2 and 5.4 around pvs command generating a list of \n separated pvs with back quotes in an unexpected way. Could be linked to a bash bug in this context ?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/analyze-my-lvm

    r2700 r2701  
    134134    if [ $lvmversion = 2 ]; then
    135135        VG_params=`GenerateVgcreateParameters $current_VG`
    136         current_PVs=`$LVMCMD pvs | grep " $current_VG " | awk '{print $1}'`
     136        current_PVs=`$LVMCMD pvs | grep " $current_VG " | awk '{print $1}' | tr '\n' ' '`
    137137        list_of_devices=$current_PVs
    138138    else
Note: See TracChangeset for help on using the changeset viewer.