#!/bin/sh

for dir in $*
do
    if [ ! -d $dir ] 
    then
	if ! mkdir --parents $dir
	then
	    exit 2
	fi
    fi
done
