diff --git a/build.sh b/build.sh index 2ab9439..d1dbeb9 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ set -Eeuo pipefail -if [ ! -f "$HOME/.config/copr" && -n "$COPR_CONFIG" ]; then +if [ ! -f "$HOME/.config/copr" ] && [ -n "$COPR_CONFIG" ]; then echo "Copr configuration file not found. Injecting from environment variable..." mkdir -p "$HOME/.config" echo "$COPR_CONFIG" > "$HOME/.config/copr"