greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16339

Show
Ignore:
Timestamp:
2008-07-10 14:13:51 (4 months ago)
Author:
davidb
Message:

Added quotes around exec of 'txt2db' so it will work from within a folder with spaces in its name

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gsdl/trunk/perllib/dbutil.pm

    r16240 r16339  
    144144    my $txt2db_exe = &util::filename_cat("$ENV{'GSDLHOME'}/bin/$ENV{'GSDLOS'}", "txt2db" . &util::get_os_exe()); 
    145145    my $infodb_file_handle = undef; 
    146     if (!-e "$txt2db_exe" || !open($infodb_file_handle, "| $txt2db_exe \"$infodb_file_path\"")) 
     146    if (!-e "$txt2db_exe" || !open($infodb_file_handle, "| \"$txt2db_exe\" \"$infodb_file_path\"")) 
    147147    { 
    148148        return undef;