Fix missing "fi"

This commit is contained in:
Hyy2001X 2020-10-17 00:39:49 +08:00 committed by GitHub
parent cfb32bd31a
commit 1ad14f8595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ if [ -f $GITHUB_WORKSPACE/Customize/$1 ];then
Patch_Dir=$GITHUB_WORKSPACE/openwrt
else
Patch_Dir=$GITHUB_WORKSPACE/openwrt/$2
fi
[ ! -d $Patch_Dir ] && mkdir -p $Patch_Dir
if [ -z $3 ];then
[ -f $Patch_Dir/$1 ] && rm -f $Patch_Dir/$1 > /dev/null 2>&1