Skip to content

Commit 3fa4233

Browse files
committed
Create dirs that are passed
1 parent c770cd2 commit 3fa4233

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

bin/compile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#!/usr/bin/env bash
22

3-
echo $1
4-
echo $2
5-
63
build_pack_dir=$(cd $(dirname $(dirname $0)); pwd)
4+
mkdir -p "$1" "$2"
75
build_dir=$1
86
cache_dir=$2
97
erlang_root="${build_dir}/erlang"
@@ -41,11 +39,9 @@ ls ${cache_dir}
4139
# To not add too much stuff to the cache dir
4240
rm -rf ${cache_dir}/*
4341

44-
ls ${cache_dir}
4542
cd ${cache_dir}
4643
echo "Fetching Erlang source..."
4744
curl -ksO ${erlang_source_url} -o ${erlang_tar} || exit 1
48-
ls .
4945
)
5046

5147
ls ${cache_dir}/

0 commit comments

Comments
 (0)