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__path="${1}"
|
||||
if [ -n "${spcd_os_mkdir__path}" ]; then
|
||||
echo "→ ${spcd_os_mkdir__path}"
|
||||
mkdir --parents "${spcd_os_mkdir__path}"
|
||||
if [ -n "${1}" ]; then
|
||||
echo "→ ${1}"
|
||||
mkdir --parents "${1}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue