summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <florent.le-coz@epitech.eu>2011-04-21 17:04:37 +0200
committerFlorent Le Coz <florent.le-coz@epitech.eu>2011-04-21 17:04:37 +0200
commit4968ff02d97a4d3afeb602860aa46b727bd6509b (patch)
tree7ea714856df8aac50f19a34d51cd652a2e454291
parent4b932d3a87877031be2cec35f7729473e58bae3d (diff)
downloadpoezio-4968ff02d97a4d3afeb602860aa46b727bd6509b.tar.gz
poezio-4968ff02d97a4d3afeb602860aa46b727bd6509b.tar.bz2
poezio-4968ff02d97a4d3afeb602860aa46b727bd6509b.tar.xz
poezio-4968ff02d97a4d3afeb602860aa46b727bd6509b.zip
Fix links in the update.sh script
-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