Changeset 631

Show
Ignore:
Timestamp:
06/01/07 18:20:02 (1 year ago)
Author:
DominoTree
Message:

Removed dos linebreaks

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tools/build/ispcp-mkdirs.pl

    r469 r631  
    11#!/usr/bin/perl 
    2  
    32use strict; 
    4  
    53use warnings; 
    6  
    74if (scalar(@ARGV) != 1) { 
    8      
    95    print STDERR "\nispcp-mkdirs.pl command line argument error !\n\n"; 
    10      
    116    exit 1; 
    12      
    137} 
    14  
    158my $dir_path = $ARGV[0]; 
    16  
    179$dir_path .= "\n"; 
    18  
    1910my $current_dir = ''; 
    20  
    2111while ($dir_path =~ /(\/[^\/\n]+)/g) { 
    22      
    2312    $current_dir .= $1; 
    24      
    2513    if (! -e $current_dir) { 
    26          
    2714        mkdir($current_dir); 
    28          
    2915        print "Creating Directory [$current_dir] ...\n"; 
    30          
    3116    } 
    3217}