新建项目库时的目录列表脚本inisop.sh
#!/bin/bash
myPath="./work/$@"
if [ ! -d "$myPath" ] ; then
{
for Project in $@
do
mkdir -p ./work/$Project/Design
mkdir -p ./work/$Project/Doc
mkdir -p ./work/$Project/Phy/lvs
mkdir -p ./work/$Project/Phy/drc
mkdir -p ./work/$Project/Phy/ant
mkdir -p ./work/$Project/Phy/lvl
mkdir -p ./work/$Project/Phy/lpe
mkdir -p ./work/$Project/Phy/gds
mkdir -p ./work/$Project/Phy/spi
mkdir -p ./work/$Project/Sim/result
mkdir -p ./work/$Project/Sim/ocean
}
else
echo " The directory is already exist,Please check the projectname!"
exit 1
fi