From cb04b3a5f3694a1598cf9c368cce30d661730640 Mon Sep 17 00:00:00 2001 From: Sebastian Nowicki Date: Mon, 5 Nov 2007 16:37:37 +0900 Subject: Fix mercurial complaining about directory already existing Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/makepkg.sh.in') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index e23484ea..f3e4741b 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1007,11 +1007,10 @@ devel_check() { msg "$(gettext "Determining latest hg revision...")" if [ -d ./src/$_hgrepo ] ; then cd ./src/$_hgrepo - make clean hg pull hg update else - [[ ! -d ./src/$_hgrepo ]] && mkdir -p ./src/$_hgrepo + [[ ! -d ./src/ ]] && mkdir ./src/ hg clone $_hgroot/$_hgrepo ./src/$_hgrepo cd ./src/$_hgrepo fi -- cgit v1.2.3-70-g09d2