From cd01a5388762d9f9b7de4b14662f75da05c9bee1 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 6 Sep 2013 12:19:12 +0200 Subject: [PATCH] sde-update-tree: call ./update.sh scripts when present in the root of a git/svn tree Signed-off-by: Alejandro Mery --- bin/sde-update-tree | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/sde-update-tree b/bin/sde-update-tree index f19e913..20d87c5 100755 --- a/bin/sde-update-tree +++ b/bin/sde-update-tree @@ -101,6 +101,10 @@ update_git() git remote prune "$remote" git pull --rebase fi + + if [ -x "./update.sh" ]; then + ./update.sh "$prefix" + fi } update_svn_nested() @@ -122,6 +126,9 @@ update_svn() echo_info "$prefix:" svn up --ignore-externals + if [ -x "./update.sh" ]; then + ./update.sh "$prefix" + fi # nested svn for x in $( update_svn_nested ); do