Commit 0e3eb58d authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix get_gear_name

parent 91689428
......@@ -107,10 +107,12 @@ filter_gear_name()
sed -e "s|\+|plus|g"
}
# FIXME
# FIXME: use in rpmbs, fix for package name from spec
get_gear_name()
{
basename `get_root_git_dir` | filter_gear_name
local gitdir=$(get_root_git_dir)
[ -n "$gitdir" ] || return
basename "$gitdir" | filter_gear_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