Changeset 3504
- Timestamp:
- Jun 19, 2007, 4:26:58 AM (18 years ago)
- Location:
- trunk/essentials/sys-apps/prefix-portage/pym/portage
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/sys-apps/prefix-portage/pym/portage/const.py
r3502 r3504 75 75 76 76 # bird: Added EXEEXT for appending ".exe" on OS/2 and windows. 77 EXEEXT = "@EXEEXT "77 EXEEXT = "@EXEEXT@" 78 78 if EXEEXT == "@"+"EXEEXT"+"@": 79 79 EXEEXT = "" -
trunk/essentials/sys-apps/prefix-portage/pym/portage/dbapi/porttree.py
r3488 r3504 656 656 continue 657 657 except PortageException, e: 658 writemsg("!!! Error: aux_get('%s', %s)\n" % (mycpv, aux_keys), 659 mycpv, noiselevel=-1) 658 #writemsg("!!! Error: aux_get('%s', %s)\n" % (mycpv, aux_keys), 659 # mycpv, noiselevel=-1) wtf? 660 writemsg("!!! Error: aux_get('%s', %s)\n" % (mycpv, aux_keys), mycpv) 660 661 writemsg("!!! %s\n" % str(e), noiselevel=-1) 661 662 del e -
trunk/essentials/sys-apps/prefix-portage/pym/portage/process.py
r3500 r3504 9 9 10 10 from portage.util import dump_traceback 11 from portage.const import BASH_BINARY, SANDBOX_BINARY 11 from portage.const import BASH_BINARY, SANDBOX_BINARY, EXEEXT 12 12 from portage.exception import CommandNotFound 13 13 … … 171 171 binary = path_lookup and find_binary(binary) or None 172 172 # bird: try with exe suffix appended 173 if not binary and sys.platform == "os2knix":174 binary = mycommand[0]+ ".exe"173 if not binary and EXEEXT != "": 174 binary = mycommand[0]+EXEEXT 175 175 if (not os.path.isabs(binary) or not os.path.isfile(binary) 176 176 or not os.access(binary, os.X_OK)): … … 367 367 if os.access(filename, os.X_OK) and os.path.isfile(filename): 368 368 return filename 369 if EXEEXT != "": 370 if os.access(filename+EXEEXT, os.X_OK) and os.path.isfile(filename+EXEEXT): 371 return filename+EXEEXT 369 372 return None
Note:
See TracChangeset
for help on using the changeset viewer.