Changeset 226 for trunk


Ignore:
Timestamp:
Nov 20, 2007, 4:44:28 PM (17 years ago)
Author:
joergs
Message:

quoting filenames to handle filenames with spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dasscm/dasscm

    r225 r226  
    448448        for my $dir ( split( '/', $dirname_prod ) ) {
    449449            if ($dir) {
    450                 run_command("$SVN add --non-recursive $dir");
     450                my( $rc, @out ) = run_command("$SVN add --non-recursive \"" . $dir . "\"" );
     451                if( $rc > 0 ) {
     452                    print join( "\n", @out );
     453                }
    451454                chdir $dir;
    452455            }
    453456        }
    454         run_command("$SVN add $basename");
     457        my( $rc, @out ) = run_command("$SVN add \"" . $basename . "\"");
     458        if( $rc > 0 ) {
     459            print join( "\n", @out );
     460        }
    455461    }
    456462}
Note: See TracChangeset for help on using the changeset viewer.