diff options
| author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-09-18 20:03:47 +0000 |
|---|---|---|
| committer | Tom Tromey <tromey@gcc.gnu.org> | 2009-09-18 20:03:47 +0000 |
| commit | 172d0c86838196561037b8766f231da85c7bd45c (patch) | |
| tree | dcd75115d8f68db2fd94c986db8a05df985df542 /libstdc++-v3/python | |
| parent | eb99f777b117a9f9007d88f0a45ea62fcf4b22b5 (diff) | |
| download | gcc-172d0c86838196561037b8766f231da85c7bd45c.tar.gz gcc-172d0c86838196561037b8766f231da85c7bd45c.tar.bz2 gcc-172d0c86838196561037b8766f231da85c7bd45c.zip | |
hook.in: Fix prefix trailing slash on 64bit host arches.
2009-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>
* python/hook.in: Fix prefix trailing slash on 64bit host arches.
From-SVN: r151866
Diffstat (limited to 'libstdc++-v3/python')
| -rw-r--r-- | libstdc++-v3/python/hook.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/python/hook.in b/libstdc++-v3/python/hook.in index 120e187ed19..d4c290f82cd 100644 --- a/libstdc++-v3/python/hook.in +++ b/libstdc++-v3/python/hook.in @@ -40,7 +40,7 @@ if gdb.current_objfile () is not None: # In some bizarre configuration we might have found a match in the # middle of a directory name. if prefix[-1] != '/': - prefix = os.path.dirname (prefix) + prefix = os.path.dirname (prefix) + '/' # Strip off the prefix. pythondir = pythondir[len (prefix):] |
