From 95d54587064600033fb78ef4a1add7d413943da2 Mon Sep 17 00:00:00 2001 From: Akash Manohar J Date: Sun, 30 Nov 2014 21:39:56 +0530 Subject: [PATCH] Create the sources dir before clone a source dir --- lib/asdf.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/asdf.sh b/lib/asdf.sh index 3769d6fa..823d3848 100755 --- a/lib/asdf.sh +++ b/lib/asdf.sh @@ -98,6 +98,8 @@ source_add_command() { local package_name=$1 local source_url=$2 local source_path=$(get_source_path $package_name) + + mkdir -p $(asdf_dir)/sources git clone $source_url $source_path }