Mikolaj Zalewski : add a local prehook

Alexandre Julliard julliard at winehq.org
Fri Jun 19 08:36:17 CDT 2009


Module: tools
Branch: master
Commit: 3e03aff51d1a7c66936673b83ff18437f9fc898f
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=3e03aff51d1a7c66936673b83ff18437f9fc898f

Author: Mikolaj Zalewski <mikolajz at tygrys.dom>
Date:   Wed Feb 13 11:36:46 2008 +0100

add a local prehook

---

 .gitignore        |    1 +
 scripts/Master.sh |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 8485d8d..af334cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
 /work/*
 /scripts/config
 /scripts/local-posthook.sh
+/scripts/local-prehook.sh
 /php/conf
 /php/dumps
 /php/langs
\ No newline at end of file
diff --git a/scripts/Master.sh b/scripts/Master.sh
index dace16c..addb75a 100755
--- a/scripts/Master.sh
+++ b/scripts/Master.sh
@@ -9,6 +9,10 @@ fi
 
 . ./config
 
+if [ -x ./local-prehook.sh ]; then
+    ./local-prehook.sh
+fi
+
 function die {
     echo $1 >>"$WORKDIR/run.log"
     cat "$WORKDIR/run.log"




More information about the wine-cvs mailing list