summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/update.sh b/update.sh
index 96da5b17..cc7b8962 100755
--- a/update.sh
+++ b/update.sh
@@ -30,17 +30,18 @@ else
hg clone http://hg.louiz.org/dnspython
fi
-if [ -h "src/dns" ]
+cd src
+if [ -h "dns" ]
then
echo 'Link src/dns already exists'
else
echo "Creating link src/dns"
- ln -s dnspython/dns src/dns
+ ln -s ../dnspython/dns dns
fi
-if [ -h "src/sleekxmpp" ]
+if [ -h "sleekxmpp" ]
then
echo 'Link src/sleekxmpp already exists'
else
echo "Creating link src/sleekxmpp"
- ln -s SleekXMPP/sleekxmpp src/sleekxmpp
+ ln -s ../SleekXMPP/sleekxmpp sleekxmpp
fi