[grisbi-bugs] [Grisbi.app (Mac OS X) 0001630]: Grisbi init shell script does not handle space in directory names

Grisbi Bug Tracker bugtracker at grisbi.org
Thu Jan 2 22:03:08 CET 2014


A NOTE has been added to this issue. 
====================================================================== 
http://www.grisbi.org/bugsreports/view.php?id=1630 
====================================================================== 
Reported By:                bleuser
Assigned To:                
====================================================================== 
Project:                    Grisbi.app (Mac OS X)
Issue ID:                   1630
Category:                   Main
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
OS:                         Mac OS X 
Plateforme:                 Apple Macintosh 
Version GTK:                 
Version gtk-mac-integration:  
Version Mac OS X:           Snow Leopard 
Version OS:                  
====================================================================== 
Date Submitted:             2014-01-02 21:30 CET
Last Modified:              2014-01-02 22:03 CET
====================================================================== 
Summary:                    Grisbi init shell script does not handle space in
directory names
Description: 
When Grisbi.app is located in a directory hierarchy that includes directory
names with spaces, launchd is unable to find Grisbi-bin.

I join the logs of Console Utility.
====================================================================== 

---------------------------------------------------------------------- 
 (0003720) bleuser (reporter) - 2014-01-02 22:03
 http://www.grisbi.org/bugsreports/view.php?id=1630#c3720 
---------------------------------------------------------------------- 
The fix is quite simple: the bug comes from the definition of $name that uses
basename with raw $0. Adding the missing " does the trick. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-01-02 21:30 bleuser        New Issue                                    
2014-01-02 21:30 bleuser        File Added: Grisbi-Crash.log                    
2014-01-02 22:01 bleuser        File Added: Grisbi.patch                     
2014-01-02 22:03 bleuser        Note Added: 0003720                          
======================================================================



More information about the bugsreports mailing list