This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -e | |
| output_file="submodule_add_commands.sh" | |
| git config -f .gitmodules --get-regexp '^submodule\..*\.path$' | | |
| while read path_key local_path | |
| do | |
| url_key=$(echo $path_key | sed 's/\.path/.url/') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This script generates the config header file from .config | |
| import os | |
| import sys | |
| import re | |
| import argparse | |
| def main(): | |
| parser = argparse.ArgumentParser(description='Generate config header file from .config') | |
| parser.add_argument('config_file', help='Path to .config file') |
OlderNewer