Ignore:
Timestamp:
2008-07-10T14:13:51+12:00 (16 years ago)
Author:
davidb
Message:

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

File:
1 edited

Legend:

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