mkdir/1
This commit is contained in:
parent
4ed549e0b9
commit
f0965a46f9
1 changed files with 3 additions and 4 deletions
|
@ -284,10 +284,9 @@ spcd_os_ls() {
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_os_mkdir() {
|
spcd_os_mkdir() {
|
||||||
spcd_os_mkdir__path="${1}"
|
if [ -n "${1}" ]; then
|
||||||
if [ -n "${spcd_os_mkdir__path}" ]; then
|
echo "→ ${1}"
|
||||||
echo "→ ${spcd_os_mkdir__path}"
|
mkdir --parents "${1}"
|
||||||
mkdir --parents "${spcd_os_mkdir__path}"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue