summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-03-11 20:49:09 +0000
committertv <tv@pkgsrc.org>2004-03-11 20:49:09 +0000
commit2366251f81ce4950ee0e4fa349acbbe2d5db45b2 (patch)
tree482b39b9709e93c957ef2b4a6cc2ae1f8d1c25cc /bootstrap
parentce47675d0a4315696ad2e86d7029e66892ef75ce (diff)
downloadpkgsrc-2366251f81ce4950ee0e4fa349acbbe2d5db45b2.tar.gz
In mkdir_p, iterate the directory names. (install-sh doesn't.)
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 189c8b8d06e..abcc98ed6b1 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.6 2004/03/11 20:47:56 tv Exp $
+# $NetBSD: bootstrap,v 1.7 2004/03/11 20:49:09 tv Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -162,7 +162,9 @@ run_cmd()
# install-sh wrapper instead.
mkdir_p()
{
- run_cmd "($shprog ./files/install-sh -d -o $user -g $group -m 755 $@)"
+ for dir in $@; do
+ run_cmd "($shprog ./files/install-sh -d -o $user -g $group -m 755 $dir)"
+ done
}
copy_src()