From 70c6ca547b34c8b068b9277c5824e31c6173f078 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Wed, 27 Jul 2016 13:42:54 +0300 Subject: [PATCH] Add post-build hook to compile.sh --- compile.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index cd2078373..dba2512f9 100755 --- a/compile.sh +++ b/compile.sh @@ -89,6 +89,10 @@ else source $SRC/lib/main.sh fi +# hook for function to run after build, i.e. to change owner of $SRC +# NOTE: this will run only if there were no errors during build process +[[ $(type -t run_after_build) == function ]] && run_after_build + # If you are committing new version of this file, increment VERSION # Only integers are supported -# VERSION=20 +# VERSION=21