Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (12 sloc) 0.325 kB
#!/bin/bash
P=`pwd`
echo $P
mkdir -p sdks/
for i in `git ls-remote -t http://github.com/mozilla/addon-sdk "refs/tags/[1-9].*" | sed 's:.*/::'`; do
if [ ! -d $i ]; then
echo "clone " $i " ..."
git clone http://github.com/mozilla/addon-sdk -q --depth 1 $P/sdks/$i
cd $P/sdks/$i
git checkout -q $i
fi
done
Jump to Line
Something went wrong with that request. Please try again.