Changeset 16339

Show
Ignore:
Timestamp:
10.07.2008 14:13:51 (11 years ago)
Author:
davidb
Message:

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

Files:
1 modified

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;