1 Star 0 Fork 0

ClarePhang / cunit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mkinstalldirs 722 Bytes
一键复制 编辑 原始数据 按行查看 历史
dingbao.peng 提交于 2019-07-17 14:46 . add: cunit v2.1.3 repo src
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.3 2004-10-01 01:38:06 jds2 Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case "$pathcomp" in
-* ) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
fi
fi
pathcomp="$pathcomp/"
done
done
exit $errstatus
# mkinstalldirs ends here
C
1
https://gitee.com/ClarePhang/cunit.git
git@gitee.com:ClarePhang/cunit.git
ClarePhang
cunit
cunit
master

搜索帮助