diff options
author | Sebastian Nowicki <xilonmu@gmail.com> | 2007-11-05 08:37:37 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-06 04:10:35 +0100 |
commit | cb04b3a5f3694a1598cf9c368cce30d661730640 (patch) | |
tree | 7e1e641a752e659cd824ed60756293b114cef92e | |
parent | 11f99e06850a7d1242d3dc6427f52eee32256e63 (diff) | |
download | pacman-cb04b3a5f3694a1598cf9c368cce30d661730640.tar.gz pacman-cb04b3a5f3694a1598cf9c368cce30d661730640.tar.xz |
Fix mercurial complaining about directory already existing
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | scripts/makepkg.sh.in | 3 |
1 files changed, 1 insertions, 2 deletions
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 |