Simplify mkdir

This commit is contained in:
Julian Ospald 2018-10-30 21:33:03 +08:00
parent c261fd7396
commit abfca7fa75
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

4
ghcup
View File

@ -1213,9 +1213,7 @@ install_cabal() {
status_message "Installing cabal-install-${mycabalver} into \"${inst_location}\""
[ -e "${inst_location}" ] || {
# TODO: this is a bit shaky because we don't use -p
edo mkdir "${INSTALL_BASE}"
edo mkdir "${BIN_LOCATION}"
edo mkdir "${inst_location}"
}
tmp_dir=$(mktemp -d)