Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/sysinst Remove target_prefix() from rmdir comm...



details:   https://anonhg.NetBSD.org/src/rev/9eec4b6993cd
branches:  trunk
changeset: 574313:9eec4b6993cd
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sat Feb 26 17:36:32 2005 +0000

description:
Remove target_prefix() from rmdir command used to remove the temporary
directory that ftp copied teh dist files into.  Command is running chroot().

diffstat:

 distrib/utils/sysinst/util.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r af223ef16493 -r 9eec4b6993cd distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c      Sat Feb 26 16:39:17 2005 +0000
+++ b/distrib/utils/sysinst/util.c      Sat Feb 26 17:36:32 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.133 2005/02/20 20:54:52 dsl Exp $   */
+/*     $NetBSD: util.c,v 1.134 2005/02/26 17:36:32 dsl Exp $   */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -808,8 +808,7 @@
                        }
                        /* chroot 'cos no rmdir in install fs */
                        run_program(RUN_CHROOT | RUN_SILENT | RUN_ERROR_OK,
-                                       "/bin/rmdir %s/%s",
-                                       target_prefix(), dist_dir);
+                                       "/bin/rmdir %s", dist_dir);
                }
        }
 



Home | Main Index | Thread Index | Old Index