HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / packaging / macosx / Scripts / cli-preinstall.sh
bloba8d928cae0bd6d1ddeda07b31776cf51b5b848be
1 #!/bin/sh
3 # Create any missing directories with mode 755, owned by root:wheel.
4 # Don't blindly clobber anything that's already there.
5 function build_path()
7 echo "Checking $1"
8 if [ ! -d "$1" ] ; then
9 TRIMMED=`dirname "$1"`
10 if [ ! -d "$TRIMMED" ] ; then
11 build_path "$TRIMMED"
13 install -v -o root -g wheel -m 0755 -d "$1"
18 build_path "$2"