Changeset 16726

Show
Ignore:
Timestamp:
12.08.2008 16:35:17 (11 years ago)
Author:
mdewsnip
Message:

Added quote marks around sqlite executable path so it works when Greenstone is installed in a path containing spaces.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/dbutil.pm

    r16339 r16726  
    244244    my $sqlite3_exe = &util::filename_cat("$ENV{'GSDLHOME'}/bin/$ENV{'GSDLOS'}", "sqlite3" . &util::get_os_exe()); 
    245245    my $infodb_handle = undef; 
    246     if (!-e "$sqlite3_exe" || !open($infodb_handle, "| $sqlite3_exe \"$infodb_file_path\"")) 
     246    if (!-e "$sqlite3_exe" || !open($infodb_handle, "| \"$sqlite3_exe\" \"$infodb_file_path\"")) 
    247247    { 
    248248    return undef;