summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-09-01 14:42:25 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-09-01 14:42:25 +0000
commit1b1f845635a1542fc2b7fda43d8dc44e55a8fded (patch)
tree0fecbe5b910b08edf7837a6a2be02d7af7c85bc5 /pym/portage_exec.py
parentdon't commit the remenants from applying a patch (diff)
downloadportage-multirepo-1b1f845635a1542fc2b7fda43d8dc44e55a8fded.tar.gz
portage-multirepo-1b1f845635a1542fc2b7fda43d8dc44e55a8fded.tar.bz2
portage-multirepo-1b1f845635a1542fc2b7fda43d8dc44e55a8fded.zip
68928-spawn-command-isabs-zmedico.patch (spawn included "." in PATH)
98727_sleep_locale_cleanup.patch (sleep was defined twice for "." and "," locales) 98827_lchown_normal_files.patch (lchown was being used on known-to-be-regular files) 98827_darwin_noop_lchown.patch (lchwon was aliased to chown on darwin) 99101_ccache_perms_adjust.patch (perms test and adjustment didn't match) 99120_uid_gid_mixup.patch (portage gid used in place of uid) 99418_merge_retcode_ignored.patch (dispatch-conf ignored result of merge command) 100382_incomplete_world.patch (versioned atoms were not being added to world) broken-stat-perms.patch (result of conditional execution being unconditionally tested) svn path=/main/branches/2.0/; revision=1960
Diffstat (limited to 'pym/portage_exec.py')
-rw-r--r--pym/portage_exec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_exec.py b/pym/portage_exec.py
index 18cfc0c6..8a92c7ae 100644
--- a/pym/portage_exec.py
+++ b/pym/portage_exec.py
@@ -70,7 +70,7 @@ def spawn(mycommand,env={},opt_name=None,fd_pipes=None,returnpid=False,uid=None,
if type(mycommand)==types.StringType:
mycommand=mycommand.split()
myc = mycommand[0]
- if not os.access(myc, os.X_OK):
+ if not os.path.isabs(myc) or not os.access(myc, os.X_OK):
if not path_lookup:
return None
myc = find_binary(myc)