aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-11-23 21:17:14 +0800
committerKunoiSayami <[email protected]>2021-11-23 21:17:14 +0800
commit8a5836b2f7874efd0f5b6111c236ba12fa249fac (patch)
tree934a18177d9668a2e3738136c5ac10e2d7b64a3d /utils
parent3a194113cd42a0e6c3d131f582e7026aa4aa2bc3 (diff)
fix(script): Fix parameter check error
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/aur/aur-check-update.py2
-rwxr-xr-xutils/aur/check-aur-dependencies.py (renamed from utils/aur/check-aur.py)0
-rwxr-xr-xutils/pkgbuild.sh2
3 files changed, 2 insertions, 2 deletions
diff --git a/utils/aur/aur-check-update.py b/utils/aur/aur-check-update.py
index 3188aea..bc79cdc 100755
--- a/utils/aur/aur-check-update.py
+++ b/utils/aur/aur-check-update.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-# Copyright (C) 2021 KunoiSayami
+# Copyright (C) 2021 KunoiSayami and contributors
#
# This module is part of KunoiSayami/repos and is released under
# the AGPL v3 License: https://www.gnu.org/licenses/agpl-3.0.txt
diff --git a/utils/aur/check-aur.py b/utils/aur/check-aur-dependencies.py
index 6749f69..6749f69 100755
--- a/utils/aur/check-aur.py
+++ b/utils/aur/check-aur-dependencies.py
diff --git a/utils/pkgbuild.sh b/utils/pkgbuild.sh
index 46d0285..16b13bd 100755
--- a/utils/pkgbuild.sh
+++ b/utils/pkgbuild.sh
@@ -152,7 +152,7 @@ popd
date +%s > "$PKGDEST/LASTBUILD"
if [ $UNSUCCESSFUL -eq 1 ]; then
- if [ -n "$CI_DEFAULT_BRANCH" ] && [ -n "$CI_DEFAULT_BRANCH" ] && [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
+ if [ -n "$CI_DEFAULT_BRANCH" ] && [ -n "$CI_COMMIT_BRANCH" ] && [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
touch .fail
else
echo -e "\033[0;31mExit due makepkg failed\033[0m"