diff options
author | tv <tv@pkgsrc.org> | 2004-03-11 20:49:09 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-03-11 20:49:09 +0000 |
commit | b565285e6e8d3d2546992a62b874ec3fdaa05b24 (patch) | |
tree | 482b39b9709e93c957ef2b4a6cc2ae1f8d1c25cc /bootstrap/bootstrap | |
parent | 27795985bc0c5cfd7c19686e89fff1e4641b3f64 (diff) | |
download | pkgsrc-b565285e6e8d3d2546992a62b874ec3fdaa05b24.tar.gz |
In mkdir_p, iterate the directory names. (install-sh doesn't.)
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 6 |
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() |