done
# the remaining arguments are assumed to be files/dirs only.
if [ $# -gt 2 ] ; then
dir=$(echo $* | sed 's/.* //g')
else
dir=$(echo $* | sed 's/.* \(.*\)\/.*/\1/g')
fi
if [ ! -d "$dir" ] ; then
mkdir -p $dir
exec install -p $*