URL:
  <http://savannah.nongnu.org/bugs/?21888>

                 Summary: mistake in /etc/rc.d/init.d/mldonkey script
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: ctac113
            Submitted on: Среда 26.12.2007 at 09:30
                Category: Core
                Severity: 3 - Normal
              Item Group: Program malfunction
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 2.9.2
        Operating System: Linux
         Binaries Origin: Redhat/Fedora package
                CPU type: None

    _______________________________________________________

Details:

Have some files with ' in their names. And /etc/rc.d/init.d/mldonkey
complains me:
xargs: unterminated single quote (') bla-bla

I found, that line 51 of this script execs following commands:
========================
 copy_files_aux `find $ML_ROOT -xdev -type f \                               
                                       
  | xargs file | grep -E ':.*ELF' \             
========================

I'd like to ask you to change these lines to the following:

========================
 copy_files_aux `find $ML_ROOT -xdev -type f -print0 \                       
                                               
  | xargs -0 file | grep -E ':.*ELF' \             
========================
 
And everything will be OK.
Attached patch to demonstrate changes.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Среда 26.12.2007 at 09:30  Name: mldonkey.patch  Size: 580B   By:
ctac113
Patch
<http://savannah.nongnu.org/bugs/download.php?file_id=14703>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21888>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs

Reply via email to