diff options
author | Gary Benson <gbenson@redhat.com> | 2011-02-14 16:00:28 +0000 |
---|---|---|
committer | Gary Benson <gary@gcc.gnu.org> | 2011-02-14 16:00:28 +0000 |
commit | fce0280a9e0f27f270c8c3ed28529fbe209aa132 (patch) | |
tree | baa392b5a78c6c74ab3d240b781db4b6592154da /libjava/contrib | |
parent | 30dd1ea360dcd4e859aa57be5f5db8b67ea3668e (diff) | |
download | gcc-fce0280a9e0f27f270c8c3ed28529fbe209aa132.zip gcc-fce0280a9e0f27f270c8c3ed28529fbe209aa132.tar.gz gcc-fce0280a9e0f27f270c8c3ed28529fbe209aa132.tar.bz2 |
Insert libgcj's Python module directory at the start of the search
path, rather than at the end.
From-SVN: r170138
Diffstat (limited to 'libjava/contrib')
-rw-r--r-- | libjava/contrib/aot-compile-rpm.in | 4 | ||||
-rw-r--r-- | libjava/contrib/aot-compile.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libjava/contrib/aot-compile-rpm.in b/libjava/contrib/aot-compile-rpm.in index c3bdb16..7d95632 100644 --- a/libjava/contrib/aot-compile-rpm.in +++ b/libjava/contrib/aot-compile-rpm.in @@ -1,6 +1,6 @@ #!/usr/bin/env python -## Copyright (C) 2005, 2006, 2007 Free Software Foundation +## Copyright (C) 2005, 2006, 2007, 2011 Free Software Foundation ## Written by Gary Benson <gbenson@redhat.com> ## ## This program is free software; you can redistribute it and/or modify @@ -14,7 +14,7 @@ ## GNU General Public License for more details. import sys -sys.path.append("@python_mod_dir_expanded@") +sys.path.insert(0, "@python_mod_dir_expanded@") import aotcompile import os diff --git a/libjava/contrib/aot-compile.in b/libjava/contrib/aot-compile.in index b891f20..91cfc67 100644 --- a/libjava/contrib/aot-compile.in +++ b/libjava/contrib/aot-compile.in @@ -1,6 +1,6 @@ #!/usr/bin/env python -## Copyright (C) 2006 Free Software Foundation +## Copyright (C) 2006, 2011 Free Software Foundation ## Written by Gary Benson <gbenson@redhat.com> ## ## This program is free software; you can redistribute it and/or modify @@ -14,7 +14,7 @@ ## GNU General Public License for more details. import sys -sys.path.append("@python_mod_dir_expanded@") +sys.path.insert(0, "@python_mod_dir_expanded@") import aotcompile import getopt import os |