summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-12-18 11:05:25 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-12-18 11:05:25 +0000
commit0783707a38819db4b0172ca8fecf77bb574028c2 (patch)
tree1129f1a3713c36e35ce78548d1e3347159b8bd62 /autoepatch.sh
parentUse --null parameter instead of -Z as -Z is overloaded in FBSD's own grep com... (diff)
downloadautoepatch-0783707a38819db4b0172ca8fecf77bb574028c2.tar.gz
autoepatch-0783707a38819db4b0172ca8fecf77bb574028c2.tar.bz2
autoepatch-0783707a38819db4b0172ca8fecf77bb574028c2.zip
Allow a patchset to specify a function to execute on the target instead of an actual patch, this way it can be used also to fix behaviours that would require a lot of patching (used already in KDE).
svn path=/trunk/; revision=15
Diffstat (limited to 'autoepatch.sh')
-rwxr-xr-xautoepatch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoepatch.sh b/autoepatch.sh
index 9efcc9e..48ec22d 100755
--- a/autoepatch.sh
+++ b/autoepatch.sh
@@ -57,6 +57,10 @@ main() {
break
fi
done
+
+ if type patch_trigger_action &>/dev/null; then
+ patch_trigger_action "${target}"
+ fi
# Check if the patchset requires us to fail if the
# patch is not applied. By default, don't.