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/bash | |
| read -p "Please input the tag/branch name: " branch | |
| read -p "What do you want to do (import (i) or update (u)): " option | |
| case $option in | |
| import | i) | |
| git subtree add --prefix=techpack/audio https://source.codeaurora.org/quic/la/platform/vendor/opensource/audio-kernel.git/ $branch | |
| git subtree add --prefix=techpack/camera https://source.codeaurora.org/quic/la/platform/vendor/opensource/camera-kernel.git/ $branch | |
| git subtree add --prefix=techpack/dataipa https://source.codeaurora.org/quic/la/platform/vendor/opensource/dataipa.git/ $branch | |
| git subtree add --prefix=techpack/datarmnet https://source.codeaurora.org/quic/la/platform/vendor/qcom/opensource/datarmnet.git/ $branch |