This commit is contained in:
Marc Beninca 2024-08-26 18:13:39 +02:00
parent 4ed549e0b9
commit f0965a46f9
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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
}