contrib/rpm: fix logic in build.sh about specifying source
When the user neither specifies SOURCE or SOURCE_FROM_GIT, we first want to detect a tarball in the current directory, and as second fallback to SOURCE_FROM_GIT=1. If either SOURCE or SOURCE_FROM_GIT is set, we want to do that and not detect anything. The logic was wrong.
Showing with 6 additions and 10 deletions