dojar cikarildi..
typo duzeldi..
This commit is contained in:
@@ -111,7 +111,7 @@ def qtLIBDIR():
|
|||||||
|
|
||||||
# Binutils Variables
|
# Binutils Variables
|
||||||
|
|
||||||
def exists_binary(bin):
|
def existBinary(bin):
|
||||||
# determine if path has binary
|
# determine if path has binary
|
||||||
path = os.environ['PATH'].split(':')
|
path = os.environ['PATH'].split(':')
|
||||||
for directory in path:
|
for directory in path:
|
||||||
@@ -121,8 +121,8 @@ def exists_binary(bin):
|
|||||||
|
|
||||||
def getBinutilsInfo(util):
|
def getBinutilsInfo(util):
|
||||||
cross_build_name = '%s-%s' % (HOST(), util)
|
cross_build_name = '%s-%s' % (HOST(), util)
|
||||||
if not exists_binary(cross_build_name):
|
if not existBinary(cross_build_name):
|
||||||
if not exists_binary(util):
|
if not existBinary(util):
|
||||||
raise BinutilsError(_('Util %s cannot be found') % util)
|
raise BinutilsError(_('Util %s cannot be found') % util)
|
||||||
else:
|
else:
|
||||||
ctx.ui.debug(_('Warning: %s does not exist, using plain name %s') \
|
ctx.ui.debug(_('Warning: %s does not exist, using plain name %s') \
|
||||||
|
|||||||
@@ -82,10 +82,6 @@ def doinfo(*sourceFiles):
|
|||||||
'''inserts the into files in the list of files into /usr/share/info'''
|
'''inserts the into files in the list of files into /usr/share/info'''
|
||||||
readable_insinto(os.path.join(get.installDIR(), get.infoDIR()), *sourceFiles)
|
readable_insinto(os.path.join(get.installDIR(), get.infoDIR()), *sourceFiles)
|
||||||
|
|
||||||
def dojar():
|
|
||||||
'''installs jar files into /usr/share/PACKAGE/lib, and adds to /usr/share/PACKAGE/classpath.env'''
|
|
||||||
pass
|
|
||||||
|
|
||||||
def dolib(sourceFile, destinationDirectory = '/usr/lib'):
|
def dolib(sourceFile, destinationDirectory = '/usr/lib'):
|
||||||
'''insert the library into /usr/lib'''
|
'''insert the library into /usr/lib'''
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user