Properly report the directory that couldn't be created; print the same
authorFabian Groffen <grobian@gentoo.org>
Fri, 13 Oct 2006 17:23:38 +0000 (17:23 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 13 Oct 2006 17:23:38 +0000 (17:23 -0000)
as the one which was tried.

svn path=/main/branches/prefix/; revision=4666

pym/portage.py

index 612e5c7bdcce8e51951684c1cc8edc56999fa7db..115002f2adcf865099e73d2e6dac6596f99b704d 100644 (file)
@@ -6541,7 +6541,7 @@ if not os.path.exists(root+portage_const.PORTAGE_BASE+""):
        except SystemExit, e:
                raise
        except:
-               writemsg("portage: couldn't create %s; exiting.\n" % portage_const.PORTAGE_BASE)
+               writemsg("portage: couldn't create %s; exiting.\n" % root+portage_const.PORTAGE_BASE)
                sys.exit(1)