Oops don't raise an error if ltmain.sh is not found
This commit is contained in:
@@ -56,12 +56,13 @@ class RunTimeError(pisi.actionsapi.Error):
|
|||||||
|
|
||||||
def configure(parameters = ''):
|
def configure(parameters = ''):
|
||||||
'''configure source with given parameters = "--with-nls --with-libusb --with-something-usefull"'''
|
'''configure source with given parameters = "--with-nls --with-libusb --with-something-usefull"'''
|
||||||
if can_access_file('configure'):
|
|
||||||
gnuconfig_update()
|
|
||||||
|
|
||||||
if can_access_file('ltmain.sh'):
|
if can_access_file('ltmain.sh'):
|
||||||
libtoolize("--copy --force")
|
libtoolize("--copy --force")
|
||||||
|
|
||||||
|
if can_access_file('configure'):
|
||||||
|
gnuconfig_update()
|
||||||
|
|
||||||
args = './configure \
|
args = './configure \
|
||||||
--prefix=/%s \
|
--prefix=/%s \
|
||||||
--build=%s \
|
--build=%s \
|
||||||
|
|||||||
Reference in New Issue
Block a user