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?