From 4968ff02d97a4d3afeb602860aa46b727bd6509b Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 21 Apr 2011 17:04:37 +0200 Subject: [PATCH] Fix links in the update.sh script --- update.sh | 9 +++++---- 1 file 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