Skip to content

Commit ffe0d7f

Browse files
committed
fix(install): use mkdir -p to create ZI_HOME with parent dirs
mkdir without -p fails on clean runners where ~/.local/share does not exist. Using -p ensures all parent directories are created.
1 parent 916120b commit ffe0d7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/sh/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if [ -z "${ZI_BIN_DIR_NAME-}" ]; then
5858
fi
5959

6060
if ! test -d "${ZI_HOME}"; then
61-
command mkdir "${ZI_HOME}"
61+
command mkdir -p "${ZI_HOME}"
6262
command chmod go-w "${ZI_HOME}"
6363
fi
6464

0 commit comments

Comments
 (0)