Commit d155dfa1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

introduce print_list func and use it

parent 1ed9d527
......@@ -137,10 +137,7 @@ else
echog "Full list of the hashered packages:"
fi
for i in $LISTBUILTSH ; do
echo " $i"
LASTPACKAGE=$i
done
print_list $LISTBUILTSH
echo
......
......@@ -37,14 +37,6 @@ list_systems()
done
}
print_list()
{
local i
for i in $@ ; do
echo -e "\t$i"
done
}
html_filter()
{
grep "src.rpm" | sed -e "s|.*href=\"||g" | sed -e "s|\".*||g"
......
......@@ -59,6 +59,14 @@ warning()
echog "Warning: $@"
}
print_list()
{
local i
for i in $@ ; do
echo " $i"
done
}
# , ALT-
is_alt()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment