Commit 00a51ae9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

guess spec: do not if src.rpm in command line

parent b07daffd
...@@ -171,8 +171,8 @@ detect_target_env ...@@ -171,8 +171,8 @@ detect_target_env
parse_cmd_pre_spec() parse_cmd_pre_spec()
{ {
# hack for check spec presence in command line # hack for check spec or src.rpm presence in command line: skip spec detecting
if echo $@ | grep -q \.spec ; then if echo $@ | grep -q \.spec || echo $@ | grep -q \.src.rpm ; then
parse_cmd_pre "$@" parse_cmd_pre "$@"
else else
local SPEC=$(get_gear_spec) local SPEC=$(get_gear_spec)
......
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