diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 0fc5d24..ebc521e 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -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 }