Skip to content

Commit

Permalink
Remove the bootstrap section
Browse files Browse the repository at this point in the history
  • Loading branch information
ianoc committed Jun 30, 2015
1 parent 56d854d commit d1fd58c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions scripts/unpackDeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ if [ -f $DEP_CACHE_PATH/cache.tar ]; then
tar xf $DEP_CACHE_PATH/cache.tar
echo "Unpacked deps"
else
echo "No deps found, trying a dropbox link of ianoc's"
cd $DEP_CACHE_PATH

URL=$(curl https://www.dropbox.com/s/ggmfx38vmbzz0q8/cache.tar?dl=0 2> /dev/null | grep 'https://dl.dropboxusercontent.com' | sed -e's/.*href="\([^"]*\)".*/\1/g')
time curl -o cache.tar $URL && \
mkdir -p ~/.ivy2 && \
cd ~/.ivy2 && \
tar xf $DEP_CACHE_PATH/cache.tar
echo "No deps found, giving up. -- Would be good to have a cdn location to cache a bootstarp"
# cd $DEP_CACHE_PATH
# URL=$(curl https://www.dropbox.com/s/ggmfx38vmbzz0q8/cache.tar?dl=0 2> /dev/null | grep 'https://dl.dropboxusercontent.com' | sed -e's/.*href="\([^"]*\)".*/\1/g')
# time curl -o cache.tar $URL && \
# mkdir -p ~/.ivy2 && \
# cd ~/.ivy2 && \
# tar xf $DEP_CACHE_PATH/cache.tar
fi

if [ -f ~/.ivy2/cache/scalding-cache.tar.gz ]; then
Expand Down

0 comments on commit d1fd58c

Please sign in to comment.