blob: a4c357c16b907e86db5585cfcaeaec9e01840769 [file] [log] [blame]
developerab57bb12024-05-07 13:30:29 +08001# 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
20LOCAL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
21source $LOCAL_DIR/setup-environment
22
23internal_link='gerrit\.mediatek\.inc\/gateway'
24external_link='git01\.mediatek\.com\/filogic'
25sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-ccsp/hal/hal-dhcpv4c-generic_git.bbappend
26sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-ccsp/hal/hal-ethsw-generic_git.bbappend
27sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-ccsp/hal/hal-fwupgrade.bb
28sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-ccsp/hal/hal-platform-generic_git.bbappend
29sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-wifi/hal/hal-wifi-mt76.bb