Skip to content

Commit

Permalink
at -p to mkdir for robustness
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuseteam committed Jul 24, 2022
1 parent ba9f7c6 commit 8ebba1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crackle
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ APT_CACHE="apt-cache -o Dir::Cache=$APTCACHE -o Dir::State=$APTSTATE -o Dir::Etc
else
dir="$PKG_PATH";
fi
[[ "$operation" = "crack" && ! -d "$dir" ]] && mkdir "$dir";
[[ "$operation" = "crack" && ! -d "$dir" ]] && mkdir -p "$dir";
[ "$operation" = "install" ] && {
[ -d "$PKG_PATH" ] || err "$PKG_PATH does not exist, please run crackle setup first";
if ! check_cmd rorw; then err "programs I install won't be executable now, please adjust your PATH variable"; fi
Expand Down

0 comments on commit 8ebba1a

Please sign in to comment.