summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortv <tv>2004-03-11 20:49:09 +0000
committertv <tv>2004-03-11 20:49:09 +0000
commit11a37d795973cd8036cf791aa7a5dcec21747769 (patch)
tree482b39b9709e93c957ef2b4a6cc2ae1f8d1c25cc /bootstrap
parent36ac26458f283b1ea054eef70a01b1a0eb5fe568 (diff)
downloadpkgsrc-11a37d795973cd8036cf791aa7a5dcec21747769.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()