提交 48919453 编写于 作者: L Lukáš Doktor

contrib: Stop using "--rawurl" in "avocado-check-pr"

The "--rawurl" is not supported on later "fpaste" versions as it outputs
everything else to stderr. Anyway to keep compatibility with older
fpaste let's explicitly use `tail -n 1` to get only the last line.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 65e7f84e
......@@ -128,7 +128,7 @@ publish_results() {
description="ALL PASS"
fi
fi
[ "$DRY" ] || url=$(fpaste --rawurl -x 604800 $tmp)
[ "$DRY" ] || url=$(fpaste -x 604800 $tmp | tail -n 1)
set_status "$BASE_URL" "$commit" "$status" "${url%%/raw/}" "$description"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册