CC-3377: Airtime 2.0.2 install fails for ubuntu 11.10

-user binary_path var
This commit is contained in:
Martin Konecny 2012-03-02 18:41:03 -05:00
parent df22ab21a6
commit c353009d39

View file

@ -85,7 +85,7 @@ try:
binary_path = os.path.join(PATH_LIQUIDSOAP_BIN, "liquidsoap_%s_%s" % (codename, arch)) binary_path = os.path.join(PATH_LIQUIDSOAP_BIN, "liquidsoap_%s_%s" % (codename, arch))
try: try:
shutil.copy("%s/liquidsoap_%s_%s"%(PATH_LIQUIDSOAP_BIN, codename, arch), "%s/liquidsoap"%PATH_LIQUIDSOAP_BIN) shutil.copy(binary_path, "%s/liquidsoap"%PATH_LIQUIDSOAP_BIN)
except IOError, e: except IOError, e:
""" """
shutil.copy can throw this exception for two reasons. First reason is that it cannot open the source file. shutil.copy can throw this exception for two reasons. First reason is that it cannot open the source file.