Changeset 3688 in MondoRescue


Ignore:
Timestamp:
Sep 22, 2017, 3:01:01 AM (7 years ago)
Author:
Bruno Cornec
Message:

Fix a search made on / creating delays on NFS based machines e.g. for keymap (Stanislav Tokoš stanislav.tokos_at_iba-group.com)
Avoid using wholename and prefer path more portable for find (Victor Gattegno victor_gattegno_at_hpe.com)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi/mindi

    r3680 r3688  
    494494    done
    495495    if [ ! -e "$mappath" ] || [ -d "$mappath" ] ; then
    496         mappath=$(find / -wholename "*/kbd/keymaps/*/$locale | head -1")
     496        mappath=$(find /usr /lib /lib64 -path "*/kbd/keymaps/*/$locale | head -1")
    497497    fi
    498498    LogFile "INFO: mappath = $mappath"
Note: See TracChangeset for help on using the changeset viewer.