mirror of git://gcc.gnu.org/git/gcc.git
Insert libgcj's Python module directory at the start of the search
path, rather than at the end. From-SVN: r170138
This commit is contained in:
parent
30dd1ea360
commit
fce0280a9e
|
@ -1,3 +1,9 @@
|
||||||
|
2011-02-14 Gary Benson <gbenson@redhat.com>
|
||||||
|
|
||||||
|
* libjava/contrib/aot-compile.in: Add our module directory
|
||||||
|
to the start of the search path rather than the end.
|
||||||
|
* libjava/contrib/aot-compile-rpm.in: Likewise.
|
||||||
|
|
||||||
2011-02-14 Gary Benson <gbenson@redhat.com>
|
2011-02-14 Gary Benson <gbenson@redhat.com>
|
||||||
|
|
||||||
PR libjava/47484
|
PR libjava/47484
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/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>
|
## Written by Gary Benson <gbenson@redhat.com>
|
||||||
##
|
##
|
||||||
## This program is free software; you can redistribute it and/or modify
|
## This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
## GNU General Public License for more details.
|
## GNU General Public License for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append("@python_mod_dir_expanded@")
|
sys.path.insert(0, "@python_mod_dir_expanded@")
|
||||||
import aotcompile
|
import aotcompile
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
## Copyright (C) 2006 Free Software Foundation
|
## Copyright (C) 2006, 2011 Free Software Foundation
|
||||||
## Written by Gary Benson <gbenson@redhat.com>
|
## Written by Gary Benson <gbenson@redhat.com>
|
||||||
##
|
##
|
||||||
## This program is free software; you can redistribute it and/or modify
|
## This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
## GNU General Public License for more details.
|
## GNU General Public License for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append("@python_mod_dir_expanded@")
|
sys.path.insert(0, "@python_mod_dir_expanded@")
|
||||||
import aotcompile
|
import aotcompile
|
||||||
import getopt
|
import getopt
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in New Issue