Add output if source tar is not found
This commit is contained in:
@@ -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 ---"
|
||||
|
||||
Reference in New Issue
Block a user