/[pcsx2_0.9.7]/auto_import_post_patches.sh
ViewVC logotype

Annotation of /auto_import_post_patches.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 161 - (hide annotations) (download) (as text)
Mon Sep 13 15:16:59 2010 UTC (10 years, 2 months ago) by william
File MIME type: application/x-sh
File size: 571 byte(s)
explain (write to console) what the script is doing
1 william 155 #!/bin/bash
2     . ./auto_defs.sh
3    
4     #export downstream_export_location="`pwd`"
5    
6    
7    
8     export patch_location="$downstream_export_location/patches"
9    
10 william 156 echo "AUTO POST PATCHING: $downstream_export_location/trunk"
11 william 155 echo
12     cd "$downstream_export_location/"
13     find $patch_location -name "*.sh" -not -path "*.svn*" -type f -exec bash -c '
14    
15     # execute the post patch (a .sh script)
16 william 161 patch_file=`basename "{}"`
17     echo -en "\\tAPPLYTING POST PATCH SCRIPT: $patch_file ... "
18     "{}" && echo "patch success." || echo "patch failure."
19 william 155 ' \;
20    
21     # Remove any *.rej files
22     #find . -name *.rej -exec rm -f "{}" \;
23    

  ViewVC Help
Powered by ViewVC 1.1.22