summaryrefslogtreecommitdiff
path: root/wl_clone
diff options
context:
space:
mode:
Diffstat (limited to 'wl_clone')
-rwxr-xr-xwl_clone19
1 files changed, 10 insertions, 9 deletions
diff --git a/wl_clone b/wl_clone
index 2e834d4..3342d94 100755
--- a/wl_clone
+++ b/wl_clone
@@ -15,22 +15,22 @@ clone_or_update() {
echo
echo $dest
if [ ! -d ${dest} ]; then
- git clone ${repo}
- if [ $? != 0 ]; then
- echo "Error: Could not clone repository"
- exit 1
- fi
+ git clone ${repo} ${dest}
+ if [ $? != 0 ]; then
+ echo "Error: Could not clone repository"
+ exit 1
+ fi
fi
cd ${dest}
git checkout master
if [ $? != 0 ]; then
- echo "Error: Problem checking out master"
- exit 1
+ echo "Error: Problem checking out master"
+ exit 1
fi
git pull
if [ $? != 0 ]; then
- echo "Error: Could not pull from upstream"
- exit 1
+ echo "Error: Could not pull from upstream"
+ exit 1
fi
cd ${WLROOT}
}
@@ -69,6 +69,7 @@ if [ ${INCLUDE_XWAYLAND} ]; then
clone_or_update git://anongit.freedesktop.org/xorg/proto/recordproto
clone_or_update git://anongit.freedesktop.org/xorg/proto/resourceproto
clone_or_update git://anongit.freedesktop.org/xorg/proto/xf86driproto
+ clone_or_update git://anongit.freedesktop.org/xorg/proto/randrproto
clone_or_update git://anongit.freedesktop.org/xorg/lib/libxkbfile
clone_or_update git://anongit.freedesktop.org/xorg/xserver
fi