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

Contents of /auto_import_post_patches.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 161 - (show 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 #!/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 echo "AUTO POST PATCHING: $downstream_export_location/trunk"
11 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 patch_file=`basename "{}"`
17 echo -en "\\tAPPLYTING POST PATCH SCRIPT: $patch_file ... "
18 "{}" && echo "patch success." || echo "patch failure."
19 ' \;
20
21 # Remove any *.rej files
22 #find . -name *.rej -exec rm -f "{}" \;
23

  ViewVC Help
Powered by ViewVC 1.1.22