Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Commit abfca7f

Browse files
committed
Simplify mkdir
1 parent c261fd7 commit abfca7f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ghcup

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,9 +1213,7 @@ install_cabal() {
12131213
status_message "Installing cabal-install-${mycabalver} into \"${inst_location}\""
12141214

12151215
[ -e "${inst_location}" ] || {
1216-
# TODO: this is a bit shaky because we don't use -p
1217-
edo mkdir "${INSTALL_BASE}"
1218-
edo mkdir "${BIN_LOCATION}"
1216+
edo mkdir "${inst_location}"
12191217
}
12201218

12211219
tmp_dir=$(mktemp -d)

0 commit comments

Comments
 (0)