developer | ab57bb1 | 2024-05-07 13:30:29 +0800 | [diff] [blame^] | 1 | # If not stated otherwise in this file or this component's LICENSE |
| 2 | # file the following copyright and licenses apply: |
| 3 | # |
| 4 | #Copyright [2019] [RDK Management] |
| 5 | # |
| 6 | #Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | #you may not use this file except in compliance with the License. |
| 8 | #You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | #Unless required by applicable law or agreed to in writing, software |
| 13 | #distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | #WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | #See the License for the specific language governing permissions and |
| 16 | #limitations under the License. |
| 17 | |
| 18 | #!/usr/bin/env bash |
| 19 | |
| 20 | LOCAL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
| 21 | source $LOCAL_DIR/setup-environment |
| 22 | |
| 23 | internal_link='gerrit\.mediatek\.inc\/gateway' |
| 24 | external_link='git01\.mediatek\.com\/filogic' |
| 25 | sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-ccsp/hal/hal-dhcpv4c-generic_git.bbappend |
| 26 | sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-ccsp/hal/hal-ethsw-generic_git.bbappend |
| 27 | sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-ccsp/hal/hal-fwupgrade.bb |
| 28 | sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-ccsp/hal/hal-platform-generic_git.bbappend |
| 29 | sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-wifi/hal/hal-wifi-mt76.bb |