From 5480ad2988d1325a0f220012e4cad724374c42ce Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 03 2022 08:56:28 +0000 Subject: Add a little debugging info to the `get_sources` script This will tell which part of the script is being considered when it is retrieving the sources from the lookaside cache. Signed-off-by: Pierre-Yves Chibon --- diff --git a/get_sources.sh b/get_sources.sh index ea1b3bc..daa1bfc 100644 --- a/get_sources.sh +++ b/get_sources.sh @@ -147,6 +147,7 @@ else fi if [[ -f sources ]]; then + echo "Flat layout style" if [[ ! -s sources ]]; then echo "Empty sources file -- nothing to check" else @@ -197,6 +198,7 @@ if [[ -f sources ]]; then "${hashtype}sum" -c sources fi else + echo "Exploded SRPM layout style" # This section is for the "non-flat" dist-git layout, where the spec file # is stored in a SPECS folder, the patches in a SOURCES folder and the sha # of the tarball of the project is present in a '..metadata' file.