2004-11-08 [colin] 0.9.12cvs141
[claws.git] / tools / OOo2sylpheed.pl
index 814f816af8149f5044a6d01a8a9576b677e03f62..7e0f97a73f7a5d17d346746f23495764849f9430 100644 (file)
@@ -25,8 +25,8 @@ my $input = <>;
 
 $ARGV =~ s/^"attachment='file:\/\///;
 $ARGV =~ s/'"$//;
-
-exec "/usr/local/bin/sylpheed --attach $ARGV";
+$ARGV =~ s/%20/ /g;
+exec "sylpheed --attach \"$ARGV\"";
 ## change the line above to point to your sylpheed executable
 
 exit;