From abfca7fa75f2c5e37476b9a42a2f83abbd0851a3 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 30 Oct 2018 21:33:03 +0800 Subject: [PATCH] Simplify mkdir --- ghcup | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ghcup b/ghcup index 5c933fc..b31b537 100755 --- a/ghcup +++ b/ghcup @@ -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)