Ignore:
Timestamp:
2008-08-12T16:35:17+12:00 (16 years ago)
Author:
mdewsnip
Message:

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

File:
1 edited

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;
Note: See TracChangeset for help on using the changeset viewer.