10c6be5a6Sopenharmony_ci#!/bin/bash
20c6be5a6Sopenharmony_ci# This library is free software; you can redistribute it and/or
30c6be5a6Sopenharmony_ci# modify it under the terms of the GNU Lesser General Public
40c6be5a6Sopenharmony_ci# License as published by the Free Software Foundation version 2.1
50c6be5a6Sopenharmony_ci# of the License.
60c6be5a6Sopenharmony_ci#
70c6be5a6Sopenharmony_ci# Copyright(c) 2023 Huawei Device Co., Ltd.
80c6be5a6Sopenharmony_ci
90c6be5a6Sopenharmony_ciset -e
100c6be5a6Sopenharmony_cicd $1
110c6be5a6Sopenharmony_ciif [ -d "re2" ];then
120c6be5a6Sopenharmony_ci    rm -rf re2
130c6be5a6Sopenharmony_cifi
140c6be5a6Sopenharmony_citar zxvf re2-2021-11-01.tar.gz
150c6be5a6Sopenharmony_cimv re2-2021-11-01 re2
160c6be5a6Sopenharmony_ciexit 0