From 6ca62cbb356c985077ea45615bf8e6f93c5a9560 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 6 Jan 2026 15:54:46 -0500 Subject: [PATCH] Provide optional output directory --- confluent_vtbufferd/buildrpm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/confluent_vtbufferd/buildrpm b/confluent_vtbufferd/buildrpm index c3e0d567..bd1ae99b 100755 --- a/confluent_vtbufferd/buildrpm +++ b/confluent_vtbufferd/buildrpm @@ -24,5 +24,10 @@ else # Clean up the generated files in this directory rm -rf dist fi +ARCH=$(uname -m) +if [ ! -z "$1" ]; then + cp /root/prmbuild/RPMS/$ARCH/confluent_vtbufferd-*.$ARCH.rpm $1 +fi +