fix some typos
All checks were successful
pkgcheck / build (push) Successful in 1m2s

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2024-04-19 22:22:34 +02:00
parent 31126a33db
commit 317c157dac
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -1,11 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
set -eo pipefail
# These variables should be set per-instance.
# PLEASE CHANGE THEM.
GITEA_URL="https://git.froth.zone"
OWNER="packaging"
USER="oauth2" # Can be unset if $OWNER is your username or changed to your username.
USER="oauth2" # Can be set to your username if you're not using a token.
PACKAGER_NAME="portage"
PACKAGER_VERSION="deps"
@ -17,9 +17,10 @@ PACKAGER_VERSION="deps"
PACKAGE_NAME=$1
PACKAGE_TAG=$2
if [[ -z "${GITEA_TOKEN}" ]]; then
if [[ -z "${GITHUB_TOKEN}" ]]; then
echo "Please set GITEA_TOKEN."
if [[ -z "${GITHUB_TOKEN}" ]]; then
echo "Please set \$GITEA_TOKEN."
exit 1
fi
GITEA_TOKEN=${GITHUB_TOKEN}