From 9d9f5a0b8d70499d33ee0684944a884293541c98 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Tue, 12 Nov 2013 17:39:29 -0800 Subject: [PATCH] Make expected projects and components structure Lookout if you run this blindly! --- bin/pull-all.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/bin/pull-all.sh b/bin/pull-all.sh index a7ad9a4da..0676d092e 100755 --- a/bin/pull-all.sh +++ b/bin/pull-all.sh @@ -1,6 +1,12 @@ #!/bin/bash dir="${0%[/\\]*}" -bash $dir/pull-all-polymer.sh $@ -bash $dir/pull-all-elements.sh $@ -bash $dir/pull-all-projects.sh $@ +! [ -d components ] && mkdir components +pushd components +bash ../$dir/pull-all-polymer.sh $@ +bash ../$dir/pull-all-elements.sh $@ +popd +! [ -d projects ] && mkdir projects +pushd projects +bash ../$dir/pull-all-projects.sh $@ +popd