2010-03-31 05:19:18 +04:00
#!/bin/sh
2015-03-25 14:13:42 +03:00
# Pull in a new snapshot of external projects that are included in
2010-03-31 05:19:18 +04:00
# our source tree for users that don't have them installed on their system
2014-09-27 17:01:16 +04:00
# Third party directory
2015-03-25 14:13:42 +03:00
THIRD_PARTY_DIR = " `dirname $0 ` "
2014-09-27 17:01:16 +04:00
# Library directory where projects live that haven't been migrated to
# $THIRD_PARTY_DIR yet.
2010-03-31 05:19:18 +04:00
WORKDIR = "`mktemp -d`"
2011-12-09 00:22:35 +04:00
echo "Updating pep8..."
2015-03-18 05:20:02 +03:00
git clone git://git.samba.org/third_party/pep8 " $WORKDIR /pep8 "
2011-12-09 00:22:35 +04:00
rm -rf " $WORKDIR /pep8/.git "
2015-03-18 05:20:02 +03:00
rsync -avz --delete " $WORKDIR /pep8/ " " $THIRD_PARTY_DIR /pep8/ "
2011-12-09 00:22:35 +04:00
2014-07-17 03:20:35 +04:00
echo "Updating zlib..."
2015-03-18 05:20:02 +03:00
git clone git://git.samba.org/third_party/zlib " $WORKDIR /zlib "
2014-07-17 03:20:35 +04:00
rm -rf " $WORKDIR /zlib/.git "
2014-09-27 17:01:16 +04:00
rsync --exclude= wscript -avz --delete " $WORKDIR /zlib/ " " $THIRD_PARTY_DIR /zlib/ "
2014-07-17 03:20:35 +04:00
2014-12-14 23:26:19 +03:00
echo "Updating pyiso8601..."
hg clone https://bitbucket.org/micktwomey/pyiso8601 " $WORKDIR /pyiso8601 "
rm -rf " $WORKDIR /pyiso8601/.hg "
rsync -avz --delete " $WORKDIR /pyiso8601/ " " $THIRD_PARTY_DIR /pyiso8601/ "
2015-03-25 14:13:41 +03:00
echo "Updating waf..."
git clone git://git.samba.org/third_party/waf.waf15/ " $WORKDIR /waf "
rm -rf " $WORKDIR /waf/.git "
rsync -C -avz --delete " $WORKDIR /waf/ " " $THIRD_PARTY_DIR /waf/ "
2010-03-31 05:19:18 +04:00
rm -rf " $WORKDIR "