Fix allinea-forge and allinea-reports installation (#5243)

* Fix allinea-forge and allinea-reports installation

* Change which to Executable
This commit is contained in:
Pramod S Kumbhar 2017-09-01 20:16:26 +02:00 committed by Adam J. Stewart
parent 2aed82c2c2
commit a140a89718
2 changed files with 2 additions and 2 deletions

View File

@ -48,5 +48,5 @@ def url_for_version(self, version):
return url + "allinea-forge-%s-Redhat-6.0-x86_64.tar" % version
def install(self, spec, prefix):
textinstall = which('textinstall.sh')
textinstall = Executable('./textinstall.sh')
textinstall('--accept-licence', prefix)

View File

@ -48,5 +48,5 @@ def url_for_version(self, version):
return url + "allinea-reports-%s-Redhat-6.0-x86_64.tar" % version
def install(self, spec, prefix):
textinstall = which('textinstall.sh')
textinstall = Executable('./textinstall.sh')
textinstall('--accept-licence', prefix)