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() {
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
} }