Changeset 2824


Ignore:
Timestamp:
May 20, 2011, 2:32:26 AM (8 years ago)
Author:
bruno
Message:
  • fix -maxdepth option for find command. it sould be '-maxdepth .. -name ..', not '-name .. -maxdepth ..' (patch from taguchi_at_ff.iij4u.or.jp)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-tools.c

    r2769 r2824  
    179179    malloc_string(tmp);
    180180    strcpy(tmp,
    181            "for i in `find /root /home -type d -name Desktop -maxdepth 2`; do \
     181           "for i in `find /root /home -maxdepth 2 -type d -name Desktop`; do \
    182182file=$i/.directory; if [ -f \"$file\" ] ; then mv -f $file $file.old ; \
    183183awk '{if (index($0, \"rootimagesmindi\")) { while (length($0)>2) { getline;} ; } \
Note: See TracChangeset for help on using the changeset viewer.