Ignore:
Timestamp:
02/07/10 03:22:19 (2 years ago)
Author:
azawawi
Message:

Fixed failed copying for wperl.exe.manifiest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/privinc/Module/Install/PRIVATE/Padre.pm

    r10560 r10565  
    241241    # source folder 
    242242    my $src = "win32-loader"; 
     243    my $bin = "blib/bin"; 
    243244 
    244245    # Create the blib/bin folder 
    245     system $^X , qw[-MExtUtils::Command -e mkpath --], qw[ blib/bin ]; 
     246    system $^X , qw[-MExtUtils::Command -e mkpath --], $bin; 
    246247 
    247248    # Step 1: Make sure we do not have old files 
     
    252253 
    253254    # Step 3: Build padre.exe using gcc 
    254     system "cd $src && gcc -Wall -Os -mwin32 -mwindows -Wl,-s padre.c padre-rc.o -o ../blib/bin/padre.exe"; 
    255  
    256     # Remove temporary file 
     255    system "cd $src && gcc -Wall -Os -mwin32 -mwindows -Wl,-s padre.c padre-rc.o -o ../$bin/padre.exe"; 
     256 
     257    # Step 4: Remove temporary files 
    257258    unlink "$src/padre-rc.o" if -f "$src/padre-rc.o"; 
    258259 
    259     # Step 4: Install XP manifest to get a themed Padre 
    260     system $^X , qw[-MExtUtils::Command -e cp --], qw[ $src/wperl.exe.manifest blib/bin/wperl.exe.manifest ]; 
     260    # Step 5: Install XP manifest to get a themed Padre 
     261    system $^X , qw[-MExtUtils::Command -e cp --], "$src/wperl.exe.manifest", "$bin/wperl.exe.manifest"; 
    261262} 
    262263 
Note: See TracChangeset for help on using the changeset viewer.