Bug 22624 - не обрабатывает пути с пробелами
Summary: не обрабатывает пути с пробелами
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: wine (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: elly@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-26 10:53 MSK by Timur Batyrshin
Modified: 2010-01-21 13:38 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timur Batyrshin 2009-12-26 10:53:23 MSK
В коде, внесенном коммитом http://git.altlinux.org/gears/w/wine.git?p=wine.git;a=commitdiff;h=139b4ab00b586b7ebaf35f008c8f742b8a3b71f6

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

предлагаю закавычить [ -f "$(winepath "$1")" ]  т.к. если путь, возвращаемый winepath содержит пробелы, в этом месте возникает ошибка "binary operator expected".
Comment 1 Vitaly Lipatov 2010-01-10 15:04:10 MSK
Илья, посмотри пожалуйста.
Да, этот скрипт надо менять изначально в eterwine.
Comment 2 Ilya Shpigor 2010-01-21 13:38:40 MSK
Проблема решена.
Сборка wine 1.1.34-alt3.