diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-05 16:06:55 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-05 16:06:55 +0000 |
commit | 0ffd57fde6a25c203818f17695a3e1a0264b6a40 (patch) | |
tree | 3c82a3850497ddb5dcbc9a0c60f9fca7566b0e6f /pkgtools/pkg_install | |
parent | 701259a22f6379220d1562cad82ec4ffa99a1467 (diff) | |
download | pkgsrc-0ffd57fde6a25c203818f17695a3e1a0264b6a40.tar.gz |
Don't chdir back to the original directory at the end of make_dist,
pkg_create is about to exit() anyway.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r-- | pkgtools/pkg_install/files/create/build.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/create/build.c b/pkgtools/pkg_install/files/create/build.c index 0ebb692f3f1..7469d1ddbbf 100644 --- a/pkgtools/pkg_install/files/create/build.c +++ b/pkgtools/pkg_install/files/create/build.c @@ -1,4 +1,4 @@ -/* $NetBSD: build.c,v 1.9 2009/02/02 12:35:01 joerg Exp $ */ +/* $NetBSD: build.c,v 1.10 2009/02/05 16:06:55 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -7,7 +7,7 @@ #if HAVE_SYS_CDEFS_H #include <sys/cdefs.h> #endif -__RCSID("$NetBSD: build.c,v 1.9 2009/02/02 12:35:01 joerg Exp $"); +__RCSID("$NetBSD: build.c,v 1.10 2009/02/05 16:06:55 joerg Exp $"); /*- * Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -320,7 +320,6 @@ make_dist(const char *pkg, const char *suffix, const package_t *plist) errx(2, "cannot finish archive: %s", archive_error_string(archive)); archive_write_finish(archive); - chdir(initial_cwd); free(initial_cwd); } |