http://bugs.winehq.org/show_bug.cgi?id=26376
Summary: Passing parameter works and doesn't? Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mikes@kuentos.guam.net
Using Pegasus program under wine. When open attachments by using linux programs. The filename and path is passed to a script and processed.
Script #!/bin/sh echo "[" $1 "]" >>/tmp/pegattach if [ `echo $1 | cut -b 1-1` = C ]; then { echo .wine/drive_c/`echo $1 | cut -b 4-120 | sed -e 's:\:/:g' `
/tmp/pegattach
gnome-open ".wine/drive_c/`echo $1 | cut -b 4-120 | sed -e 's:\:/:g' `" } else { xtest=`echo $1 | cut -b 3-120 | sed -e 's:\:/:g' ` echo $xtest >>/tmp/pegattach gnome-open "$xtest" 2>>/tmp/pegattach } fi
This works fine on my Fedora 14 machine, and I've run it on two other machines with Ubuntu with no problem, but have two other people that tried the same thing, and seem to be getting nothing passed to the script. The log file should have a [ followed by the ], but somehow they just get the [ and a truncated version of the path with no filename at all.
Not in the same part of world, so I don't have access to the machines that don't work.
Any process to help isolate what might be causing this?
http://bugs.winehq.org/show_bug.cgi?id=26376
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-11 07:00:57 CST --- Debugging your own script is up to you, and is outside of Wine bugzilla. You may try to ask for help on the user's forums.
http://bugs.winehq.org/show_bug.cgi?id=26376
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-11 07:01:10 CST --- Closing.