<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>22624</bug_id>
          
          <creation_ts>2009-12-26 10:53:23 +0300</creation_ts>
          <short_desc>не обрабатывает пути с пробелами</short_desc>
          <delta_ts>2010-01-21 13:38:40 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>wine</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Timur Batyrshin">erthad</reporter>
          <assigned_to name="elly@altlinux.org">elly</assigned_to>
          <cc>hiddenman</cc>
    
    <cc>lav</cc>
    
    <cc>shpigor</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104840</commentid>
    <comment_count>0</comment_count>
    <who name="Timur Batyrshin">erthad</who>
    <bug_when>2009-12-26 10:53:23 +0300</bug_when>
    <thetext>В коде, внесенном коммитом http://git.altlinux.org/gears/w/wine.git?p=wine.git;a=commitdiff;h=139b4ab00b586b7ebaf35f008c8f742b8a3b71f6

в строчке:
if [ -n &quot;$1&quot; ] &amp;&amp; [ -f $(winepath &quot;$1&quot;) ] ; then

предлагаю закавычить [ -f &quot;$(winepath &quot;$1&quot;)&quot; ]  т.к. если путь, возвращаемый winepath содержит пробелы, в этом месте возникает ошибка &quot;binary operator expected&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105305</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2010-01-10 15:04:10 +0300</bug_when>
    <thetext>Илья, посмотри пожалуйста.
Да, этот скрипт надо менять изначально в eterwine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105807</commentid>
    <comment_count>2</comment_count>
    <who name="Ilya Shpigor">shpigor</who>
    <bug_when>2010-01-21 13:38:40 +0300</bug_when>
    <thetext>Проблема решена.
Сборка wine 1.1.34-alt3.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>