mirror of
https://git.centos.org/centos-git-common.git
synced 2025-02-23 16:22:56 +00:00
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 <pingou@pingoured.fr>
This commit is contained in:
parent
04de770669
commit
5480ad2988
1 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f sources ]]; then
|
if [[ -f sources ]]; then
|
||||||
|
echo "Flat layout style"
|
||||||
if [[ ! -s sources ]]; then
|
if [[ ! -s sources ]]; then
|
||||||
echo "Empty sources file -- nothing to check"
|
echo "Empty sources file -- nothing to check"
|
||||||
else
|
else
|
||||||
|
@ -197,6 +198,7 @@ if [[ -f sources ]]; then
|
||||||
"${hashtype}sum" -c sources
|
"${hashtype}sum" -c sources
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
echo "Exploded SRPM layout style"
|
||||||
# This section is for the "non-flat" dist-git layout, where the spec file
|
# 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
|
# 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 '.<pkg_name>.metadata' file.
|
# of the tarball of the project is present in a '.<pkg_name>.metadata' file.
|
||||||
|
|
Loading…
Add table
Reference in a new issue