Create src if it doesn't already exist
This commit is contained in:
parent
2299d6abd6
commit
7d3ea5865b
|
@ -73,6 +73,11 @@ do_parameter_subst() {
|
|||
|
||||
|
||||
|
||||
if [ ! -e "src" ]
|
||||
then
|
||||
do_cmd mkdir src || exit 1
|
||||
fi
|
||||
|
||||
if [ -e "src/${NAME}" ]
|
||||
then
|
||||
print_failure "Module 'src/${NAME}' already exists"
|
||||
|
|
Loading…
Reference in New Issue