aboutsummaryrefslogtreecommitdiff
path: root/pkgbuild.sh
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-10-26 19:18:18 +0800
committerKunoiSayami <[email protected]>2021-10-26 19:18:18 +0800
commitc27a6bab51799aab92e23d5453fe85c2789eb655 (patch)
treea98334005fe0c2da3ef5dd2648a6471af1b216ac /pkgbuild.sh
parent686b4f381b38fd6e9aae616527ec11fb371762f7 (diff)
fix(script): Fix multiple bugs
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'pkgbuild.sh')
-rwxr-xr-xpkgbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgbuild.sh b/pkgbuild.sh
index 0663fc7..c7c3888 100755
--- a/pkgbuild.sh
+++ b/pkgbuild.sh
@@ -53,7 +53,7 @@ if [ $# -gt 0 ] && [ "$1" = "--diff" ]; then
exit 0
fi
-if [ $# -gt 0 ] && [ "$1" = "--all" ] || [ -z "$CI_COMMIT_TITLE" ] && [[ $CI_COMMIT_TITLE =~ "fix(repo)" ]]; then
+if [ $# -gt 0 ] && [ "$1" = "--all" ] || [ -n "$CI_COMMIT_TITLE" ] && [[ $CI_COMMIT_TITLE =~ "fix(repo)" ]]; then
ls $PKGBUILD_DIRECTORY_BASE > "$REPO_DIFF"
else
get_diff_list