diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-09-01 14:42:25 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-09-01 14:42:25 +0000 |
commit | 1b1f845635a1542fc2b7fda43d8dc44e55a8fded (patch) | |
tree | 0fecbe5b910b08edf7837a6a2be02d7af7c85bc5 /pym/portage_exec.py | |
parent | 7a70785bb2b18b7ae415aa0382b7f8c2adfcd2a4 (diff) | |
download | portage-1b1f845635a1542fc2b7fda43d8dc44e55a8fded.tar.gz portage-1b1f845635a1542fc2b7fda43d8dc44e55a8fded.tar.bz2 portage-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_exec.py b/pym/portage_exec.py index 18cfc0c69..8a92c7ae2 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) |