]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix '=' bug
authorRobin Wittler <robin.wittler@profitbricks.com>
Wed, 3 Aug 2011 14:01:10 +0000 (16:01 +0200)
committerRobin Wittler <robin.wittler@profitbricks.com>
Wed, 3 Aug 2011 14:01:10 +0000 (16:01 +0200)
testgit_build.py

index eaabc38c748733267378ceef774cd543bcb29ca3..bcb4e92fcbf351b130a545a484a621bf33dc7254 100755 (executable)
@@ -46,7 +46,7 @@ GIT_TARGET_WORKSPACE = os.path.join(
         '%s-build%s' %(BUILD_ID, BUILD_NUMBER)
 )
 
-if GIT_UPSTREAM_BRANCH = 'NONE':
+if GIT_UPSTREAM_BRANCH == 'NONE':
     raise Exception('You must give a GIT_UPSTREAM_BRANCH')
 
 if GIT_DEBIAN_BRANCH == 'NONE':