summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSebastian Nowicki <xilonmu@gmail.com>2007-11-05 16:37:37 +0900
committerDan McGee <dan@archlinux.org>2007-11-05 21:10:35 -0600
commitcb04b3a5f3694a1598cf9c368cce30d661730640 (patch)
tree7e1e641a752e659cd824ed60756293b114cef92e /scripts
parent11f99e06850a7d1242d3dc6427f52eee32256e63 (diff)
downloadpacman-cb04b3a5f3694a1598cf9c368cce30d661730640.tar.xz
Fix mercurial complaining about directory already existing
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in3
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