fix bug in darcs get
authormegacz <adam@megacz.com>
Sun, 14 Jun 2009 01:18:05 +0000 (18:18 -0700)
committermegacz <adam@megacz.com>
Sun, 14 Jun 2009 01:18:05 +0000 (18:18 -0700)
upstream/Makefile

index 3549e76..bb5394a 100644 (file)
@@ -83,8 +83,8 @@ tasks/extract_darcs_%:
        if [ -d "$(root)/_darcs" ]; then \
                cd build && darcs get --repo-name="$*" --verbose "$(darcs_$*)"; \
        else \
        if [ -d "$(root)/_darcs" ]; then \
                cd build && darcs get --repo-name="$*" --verbose "$(darcs_$*)"; \
        else \
-               mkdir -p "build/$*" && cd "build/$*"; \
-               darcs get $(darcs_$*); \
+               mkdir -p "build/" && cd "build/"; \
+               darcs get --repo-name=$* $(darcs_$*); \
        fi
        touch $@
 
        fi
        touch $@