Commit c0bd5199 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

parent bc736c51
$ GIT_ALT=gear.alt girar-show
Применить shell check или что-то подобное
https://www.google.ru/search?q=lint+bash
......
......@@ -17,9 +17,14 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
exit 1
fi
OPTIONS=
if [ "$1" = "-i" ] ; then
OPTIONS="-i"
fi
for i in "$@" ; do
docmd cd $i || fatal "Please run in dir with '$i' subdirectory."
docmd rpmbsh $GIRARHOST || fatal
docmd rpmbsh $GIRARHOST $OPTIONS || fatal
cd -
done
......@@ -151,6 +151,7 @@ get_pkgname_from_filename()
echo ${FN/[-_][0-9]*/}
}
# TODO: epm print srcname from filename
# return source package name by binary rpm package file
get_sourcepkg_name()
{
......
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