functions: Add packages check
This commit is contained in:
parent
019eb296bc
commit
64827c16c5
|
@ -50,6 +50,10 @@ prepare_env()
|
||||||
mkdir_if_not_exists "./out"
|
mkdir_if_not_exists "./out"
|
||||||
mkdir_if_not_exists "./raw"
|
mkdir_if_not_exists "./raw"
|
||||||
mkdir_if_not_exists "./tmp"
|
mkdir_if_not_exists "./tmp"
|
||||||
|
[ ! -d "./packages" ] && {
|
||||||
|
log "Packages not found. Cannot continue"
|
||||||
|
exit 4
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
require ()
|
require ()
|
||||||
|
|
Loading…
Reference in a new issue