forgotten putenv

This commit is contained in:
"Vladimir N. Oleynik" 2005-09-29 15:53:34 +00:00
parent 8e1bd4a05b
commit 6a60c821a8

View File

@ -4,10 +4,8 @@
* Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, * Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
* 2003, 2004, 2005 by Theodore Ts'o. * 2003, 2004, 2005 by Theodore Ts'o.
* *
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Public * This file may be redistributed under the terms of the GNU Public
* License. * License.
* %End-Header%
*/ */
/* Usage: mke2fs [options] device /* Usage: mke2fs [options] device
@ -799,6 +797,7 @@ static int PRS(int argc, char *argv[])
char *newpath; char *newpath;
bb_xasprintf(&newpath, "%s:%s", PATH_SET, oldpath); bb_xasprintf(&newpath, "%s:%s", PATH_SET, oldpath);
putenv(newpath);
} else } else
putenv (PATH_SET); putenv (PATH_SET);