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