--- euses.c.old 2006-07-14 13:08:33 +0200 +++ euses.c 2006-07-14 13:08:44 +0200 @@ -127,8 +127,8 @@ /* Run some stuff in a subshell (Ooh my, how ugly): */ FILE *ptr; ptr = - popen("source /etc/make.globals;" - "source /etc/make.conf;" "echo -n ${PORTDIR}", "r"); + popen(". /etc/make.globals;" + ". /etc/make.conf;" "echo -n ${PORTDIR}", "r"); if (fgets(portdir, (int)FILENAME_MAX, ptr) == NULL) doerror(FILE_ERR, NULL, NULL); if (strlen(portdir) == 0)