Skip to content

Commit

Permalink
Improve spec validation
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Sep 11, 2024
1 parent 196ad1b commit 8a03ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SOURCES/libexec/build.shx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ startBuild() {
local err

if isSpecFile "${spec}.spec" ; then
spec="${spec}.spec"
if [[ -r "${spec}.source" && -z "$source_list" ]] ; then
source_list="$spec.source"
fi
spec="${spec}.spec"
fi

if ! isSpecFile "$spec" ; then
Expand Down

0 comments on commit 8a03ba8

Please sign in to comment.