diff --git a/package-rhel.sh b/package-rhel.sh index 0d126e25..bf295134 100644 --- a/package-rhel.sh +++ b/package-rhel.sh @@ -380,7 +380,7 @@ build_for_arch() { local RID_DIR="$rid" local PUBDIR PUBDIR="$(dirname "$PROJECT")/bin/Release/net8.0/${RID_DIR}/publish" - [[ -d "$PUBDIR" ]] + [[ -d "$PUBDIR" ]] || { echo "Publish directory not found: $PUBDIR"; return 1; } # Per-arch working area local PKGROOT="v2rayN-publish"