commit edf6dacf55407be8c2823b5b46b9012480640043
parent 69cfe785da6100a0743c5bd007ba9c37679de0d9
Author: Johny Mattsson <johny.mattsson+github@gmail.com>
Date: Mon, 2 Oct 2017 12:25:05 +1100
Fix to cope with dir permissions.
During regular operation the parent directory ends up owned by root and
the sudo is required for the mkdir to succeed.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zlibs/bootstrap b/zlibs/bootstrap
@@ -168,7 +168,7 @@ bootstrap_tar_unpack() {
# act "skipping tarball unpack"
# else
sudo rm -rf ${unpath}
- mkdir -p ${unpath}
+ sudo mkdir -p ${unpath}
silly
sudo tar xfp $bootstrap_tgz -C ${unpath}
sudo mkdir -p ${unpath}/{boot,dev,sys,proc}