]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
takora: fix conditional syntax
authorKen Dreyer <kdreyer@redhat.com>
Fri, 28 Aug 2015 13:50:07 +0000 (07:50 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Fri, 28 Aug 2015 13:50:07 +0000 (07:50 -0600)
In the previous commit, I forgot the "; then" syntax that bash needs.

takora/build/build

index fb760f1e0fdcbaaa5b6f27ea5f80a947bbf8996a..e820c1dcd4052a008cb3424f15c783aa9c21fc4b 100644 (file)
@@ -18,7 +18,7 @@ else
     tito rpm
 fi
 
-if [ -n "$BRANCH" ]
+if [ -n "$BRANCH" ]; then
     # A user explicitly told Jenkins to build a branch.
     # (ie, this is not an automatic GitHub pull request build.)
     # Move the artifacts into position for archiving.