Skip to content
  • Thomas Haller's avatar
    contrib/rpm: fix logic in build.sh about specifying source · 4be28b39
    Thomas Haller authored
    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.
    4be28b39