Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed broken openstack build

  • Loading branch information...
commit 7cb4ca774a3c23d1990dd29d769a2483cf8149a6 1 parent 7eb1813
Vasyl Khomenko authored August 05, 2011
2  build_helpers
@@ -45,7 +45,7 @@ check_git_update() {
45 45
 
46 46
 check_for_update() {
47 47
     check_tarball_update
48  
-    check_git_update
  48
+    check_spec_update
49 49
     [[ $FireNewBuild == "1" ]] || exit 0
50 50
     [ $Debug ] && echo "There is UPDATE"
51 51
 }
1  trigger-glance-new
@@ -5,6 +5,7 @@ dirname="$(dirname $abspath)"
5 5
 cd "$dirname" || exit -1
6 6
 
7 7
 prj="glance"
  8
+ OurSpec="openstack-$prj.spec"
8 9
 DevMileStone="d3"
9 10
 TarballsHome="http://glance.openstack.org/tarballs"
10 11
 
2  trigger-nova-new
@@ -5,6 +5,8 @@ dirname="$(dirname $abspath)"
5 5
 cd "$dirname" || exit -1
6 6
 
7 7
 prj="nova"
  8
+OurSpec="openstack-$prj.spec"
  9
+
8 10
 DevMileStone="d4"
9 11
 TarballsHome="http://nova.openstack.org/tarballs"
10 12
 
2  trigger-swift-new
@@ -7,6 +7,8 @@ cd "$dirname" || exit -1
7 7
 
8 8
 
9 9
 prj="swift"
  10
+OurSpec="openstack-$prj.spec"
  11
+
10 12
 DevMileStone="d4"
11 13
 TarballsHome="http://swift.openstack.org/tarballs"
12 14
 
2  trigger.conf
@@ -2,7 +2,7 @@ Debug="1"
2 2
 
3 3
 jenkins="localhost:8080"
4 4
 # Name of our project. Taken from spec by default
5  
-prj=$(grep '^Name:' $OurSpec | sed 's/^Name:\s\+//')
  5
+[ $prj ] || prj=$(grep '^Name:' $OurSpec | sed 's/^Name:\s\+//')
6 6
 
7 7
 
8 8
 # Storage for our specs

0 notes on commit 7cb4ca7

Please sign in to comment.
Something went wrong with that request. Please try again.