Add code to setup ${brew_prefix}/man as writable.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Sun, 13 Nov 2016 16:32:01 +0000 (01:32 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Sun, 13 Nov 2016 16:32:01 +0000 (01:32 +0900)
bootstrap.homebrew

index 9bc7d5d..2aa2f5d 100755 (executable)
@@ -61,6 +61,13 @@ CC=${chise_cc} ./configure \
 
 ulimit -n 2048
 
+if [ ! -d ${brew_prefix}/man ]
+then
+    sudo mkdir ${brew_prefix}/man
+fi
+sudo chgrp admin ${brew_prefix}/man
+sudo chmod g+w ${brew_prefix}/man
+
 make install-base
 
 cd chise-fonts-installer/TrueType && make build-arphic \