Files
OpenNetworkLinux/tools/scripts/post-merge.hook
Jeffrey Townsend 67c67470d2 Add a post-merge githook to invalidate the local module manifest.
The Builder module manifest is generated once from the local tree if its missing.
When new code is merged from a remote the manifest must be regenerated in order to
reference and build the new libraries.

At setup time a post-merge hook is now added to the local repository to clear the
module manifest after merging.
2016-04-11 17:14:57 +00:00

16 lines
349 B
Bash
Executable File

#!/bin/bash
############################################################
#
# Every time a merge is performed we should invalidate
# the module manifest.
#
############################################################
mm="$GIT_DIR/../make/module-manifest.mk"
if [ -f "$mm" ]; then
echo "Removing module manifest after merge..."
rm "$mm"
fi