#1742 check existence of maven symlink
Merged 4 years ago by tkopecek. Opened 4 years ago by tkopecek.
tkopecek/koji issue1593  into  master

file modified
+2 -1
@@ -1605,7 +1605,8 @@ 

                  buildroot.expire()

                  raise koji.BuildrootError('error installing packages, %s' % buildroot._mockResult(rv, logfile='mock_output.log'))

  

-         if not os.path.exists('%s/usr/bin/mvn' % buildroot.rootdir()):

+         # existence of symlink should be sufficient

+         if not os.path.lexists('%s/usr/bin/mvn' % buildroot.rootdir()):

              raise koji.BuildError('/usr/bin/mvn was not found in the buildroot')

  

          scmdir = '%s/maven/build' % buildroot.rootdir()

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

4 years ago

Commit 3cb1e05 fixes this pull-request

Pull-Request has been merged by tkopecek

4 years ago

Metadata Update from @jcupova:
- Pull-request untagged with: testing-ready
- Pull-request tagged with: no_qe

4 years ago