Skip to content

Commit 55f2c7b

Browse files
committed
fix install bug
1 parent a11ff70 commit 55f2c7b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

do-install/main.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ function parse_lib_config() {
2727
local t=$(echo "PRE_COMPILE_TAG_$MR_PLAT" | tr '[:lower:]' '[:upper:]')
2828
local vt=$(eval echo "\$$t")
2929

30-
if test -z $TAG ;then
31-
echo "tag can't be nil"
32-
usage
30+
if test -z $vt ;then
31+
echo "$t can't be nil"
3332
exit
3433
fi
35-
34+
35+
export TAG=$vt
3636
# opus-1.3.1-231124151836
3737
# yuv-stable-eb6e7bb-250225223408
3838
LIB_NAME=$(echo $TAG | awk -F - '{print $1}')
@@ -44,7 +44,6 @@ function parse_lib_config() {
4444
VER=${temp%$suffix}
4545

4646
export VER
47-
export TAG
4847
export LIB_NAME
4948
}
5049

0 commit comments

Comments
 (0)