Just use EPREFIX, as we imported it.
authorFabian Groffen <grobian@gentoo.org>
Mon, 4 Dec 2006 09:54:10 +0000 (09:54 -0000)
committerFabian Groffen <grobian@gentoo.org>
Mon, 4 Dec 2006 09:54:10 +0000 (09:54 -0000)
svn path=/main/branches/prefix/; revision=5170

bin/emerge

index af02844146201cedeb133c59e21be6a84711c87d..576c0670223eff1062db2064a0982edca526cc28 100755 (executable)
@@ -3471,7 +3471,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
                dosyncuri = syncuri
        elif syncuri[:11]=="svn+http://":
                # this should be way more generic!
-               if not os.path.exists(portage_const.EPREFIX+"/usr/bin/svn"):
+               if not os.path.exists(EPREFIX+"/usr/bin/svn"):
                        print "!!! svn does not exist, so SVN support is disabled."
                        print "!!! Type \"emerge dev-util/subversion\" to enable SVN support."
                        sys.exit(1)