From d6c8879ca2dc234fecffd495cb80bfa3b2f73fa3 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Sun, 29 Mar 2026 20:29:22 -0400 Subject: [PATCH] Add output if source tar is not found --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 43c5066..e3526b4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,8 +13,10 @@ echo "--- Download sources ---" rpmdev-spectool -g -C ~/rpmbuild/SOURCES $1 if [[ -f "~/rpmbuild/SOURCES/source.tar.gz" ]]; then - echo "--- Peaking inside source tar ---" + echo "--- Peaking inside source.tar.gz ---" tar -rf ~/rpmbuild/SOURCES/source.tar.gz +else + echo "--- No source.tar.gz found in SOURCES, continuing... ---" fi echo "--- Add patches ---"