forked from dita4publishers/dita4publishers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloneAll.sh
executable file
·68 lines (60 loc) · 3.19 KB
/
cloneAll.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/bash
# This script clone every repositories into the directory of your choice
# usage: ./cloneAll.sh <path/to/dir>
# find right location
realpath() {
case $1 in
/*) echo "$1" ;;
*) echo "$PWD/${1#./}" ;;
esac
}
CURRENT_DIR="$(dirname "$(realpath "$0")")"
# check paramaters
if [ $# -ne 1 ]
then
echo ""
echo " ! Please provide the location where you want the plugins to be cloned."
echo ""
exit 1
fi
CLONEPATH=$1
cd $CLONEPATH
# clone
git clone git@github.com:dita-community/org.dita-community.common.xslt.git
git clone git@github.com:dita-community/org.dita-community.adjust-copy-to.git
git clone git@github.com:dita-community/org.dita-community.preprocess-extensions.git
git clone git@github.com:dita4publishers/org.dita4publishers.common.xslt.git
git clone git@github.com:dita4publishers/org.dita4publishers.common.html.git
git clone git@github.com:dita4publishers/org.dita4publishers.common.mapdriven.git
git clone git@github.com:dita4publishers/org.dita4publishers.common.xslfo.git
git clone git@github.com:dita4publishers/org.dita4publishers.dita2indesign.git
git clone git@github.com:dita4publishers/org.dita4publishers.doctypes.git
git clone git@github.com:dita4publishers/org.dita4publishers.enumeration-d.fo.git
git clone git@github.com:dita4publishers/org.dita4publishers.enumeration-d.html.git
git clone git@github.com:dita4publishers/org.dita4publishers.epub.git
git clone git@github.com:dita4publishers/org.dita4publishers.formatting-d.fo.git
git clone git@github.com:dita4publishers/org.dita4publishers.formatting-d.html.git
git clone git@github.com:dita4publishers/org.dita4publishers.graphviz.git
git clone git@github.com:dita4publishers/org.dita4publishers.html2.git
git clone git@github.com:dita4publishers/org.dita4publishers.html5.git
git clone git@github.com:dita4publishers/org.dita4publishers.json.git
git clone git@github.com:dita4publishers/org.dita4publishers.kindle.git
git clone git@github.com:dita4publishers/org.dita4publishers.math.git
git clone git@github.com:dita4publishers/org.dita4publishers.math-d.html.git
git clone git@github.com:dita4publishers/org.dita4publishers.media-d.html.git
git clone git@github.com:dita4publishers/org.dita4publishers.pubContent-d.fo.git
git clone git@github.com:dita4publishers/org.dita4publishers.pubmap.fo.git
git clone git@github.com:dita4publishers/org.dita4publishers.pubmap.html.git
git clone git@github.com:dita4publishers/org.dita4publishers.rss.git
git clone git@github.com:dita4publishers/org.dita4publishers.ruby.fo.git
git clone git@github.com:dita4publishers/org.dita4publishers.ruby.html.git
git clone git@github.com:dita4publishers/org.dita4publishers.sample.epub_override.git
git clone git@github.com:dita4publishers/org.dita4publishers.word2dita.git
git clone git@github.com:dita4publishers/org.dita4publishers.xmldomain.doctypes.git
git clone git@github.com:dita4publishers/org.dita4publishers.xmldomain.fo.git
git clone git@github.com:dita4publishers/org.dita4publishers.xmldomain.html.git
git clone git@github.com:dita4publishers/org.example.d4p.epub-custom.git
git clone git@github.com:dita4publishers/org.example.d4p.html2extensions.git
git clone git@github.com:dita4publishers/org.example.d4p.word2ditaextension.git
# come back
cd $CURRENT_DIR