* [gentoo-commits] gentoo-projects commit in portage-utils/libq: profile.c
@ 2011-12-18 1:32 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-12-18 1:32 UTC (permalink / raw
To: gentoo-commits
vapier 11/12/18 01:32:28
Modified: profile.c
Log:
drop leading slash since EPREFIX has a trailing slash
Revision Changes Path
1.2 portage-utils/libq/profile.c
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/libq/profile.c?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/libq/profile.c?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/libq/profile.c?r1=1.1&r2=1.2
Index: profile.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/libq/profile.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- profile.c 2 Mar 2011 07:03:31 -0000 1.1
+++ profile.c 18 Dec 2011 01:32:28 -0000 1.2
@@ -72,6 +72,6 @@
q_profile_walk(const char *file, q_profile_callback_t callback, void *data)
{
/* Walk the profiles and read the file in question */
- data = q_profile_walk_at(AT_FDCWD, EPREFIX "/etc/make.profile", file, callback, data);
- return q_profile_walk_at(AT_FDCWD, EPREFIX "/etc/portage/make.profile", file, callback, data);
+ data = q_profile_walk_at(AT_FDCWD, EPREFIX "etc/make.profile", file, callback, data);
+ return q_profile_walk_at(AT_FDCWD, EPREFIX "etc/portage/make.profile", file, callback, data);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-18 1:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-18 1:32 [gentoo-commits] gentoo-projects commit in portage-utils/libq: profile.c Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox