mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-11-24 18:25:06 +00:00
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.
16 lines
349 B
Bash
Executable File
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
|
|
|
|
|