Skip to content

Commit

Permalink
Ensure cache dir is present when installing sqitch
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballhat committed May 27, 2017
1 parent fe064df commit 48d00be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/install-sqitch
Expand Up @@ -6,7 +6,7 @@ set -o errexit
: ${CACHEDIR:=${HOME}/.cache}
: ${PERL5DIR:=${HOME}/perl5}

mkdir -p "${BINDIR}"
mkdir -p "${BINDIR}" "${CACHEDIR}"

if [[ ! -f "${CACHEDIR}/cpanm" ]] ; then
curl -sL 'https://cpanmin.us/' -o "${CACHEDIR}/cpanm"
Expand Down

0 comments on commit 48d00be

Please sign in to comment.