12dad8905Sopenharmony_ci#!/bin/bash 22dad8905Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 32dad8905Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 42dad8905Sopenharmony_ci# you may not use this file except in compliance with the License. 52dad8905Sopenharmony_ci# You may obtain a copy of the License at 62dad8905Sopenharmony_ci# 72dad8905Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 82dad8905Sopenharmony_ci# 92dad8905Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 102dad8905Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 112dad8905Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 122dad8905Sopenharmony_ci# See the License for the specific language governing permissions and 132dad8905Sopenharmony_ci# limitations under the License. 142dad8905Sopenharmony_ci 152dad8905Sopenharmony_ciset -e 162dad8905Sopenharmony_cicd $1 172dad8905Sopenharmony_ciif [ -d "mtdev-1.1.6" ];then 182dad8905Sopenharmony_ci rm -rf mtdev-1.1.6 192dad8905Sopenharmony_cifi 202dad8905Sopenharmony_citar xvf mtdev-1.1.6.tar.bz2 212dad8905Sopenharmony_cicp -rf mtdev-1.1.6/* ./ 222dad8905Sopenharmony_ci./configure 232dad8905Sopenharmony_ciexit 0