Fix links in the update.sh script

This commit is contained in:
Florent Le Coz 2011-04-21 17:04:37 +02:00
parent 4b932d3a87
commit 4968ff02d9

View file

@ -30,17 +30,18 @@ else
hg clone http://hg.louiz.org/dnspython hg clone http://hg.louiz.org/dnspython
fi fi
if [ -h "src/dns" ] cd src
if [ -h "dns" ]
then then
echo 'Link src/dns already exists' echo 'Link src/dns already exists'
else else
echo "Creating link src/dns" echo "Creating link src/dns"
ln -s dnspython/dns src/dns ln -s ../dnspython/dns dns
fi fi
if [ -h "src/sleekxmpp" ] if [ -h "sleekxmpp" ]
then then
echo 'Link src/sleekxmpp already exists' echo 'Link src/sleekxmpp already exists'
else else
echo "Creating link src/sleekxmpp" echo "Creating link src/sleekxmpp"
ln -s SleekXMPP/sleekxmpp src/sleekxmpp ln -s ../SleekXMPP/sleekxmpp sleekxmpp
fi fi