X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=upstream%2FMakefile;h=c375b30fbebf91876d175f19f08d4e9c5f4479ad;hp=b7d66432165b4bb045a7301e63b628f27c414383;hb=bf7edab63fc1d980e58ae0a460fb49d75ccbc1c7;hpb=92a5ffb0e8af0b0909b903176810c33e75dda148 diff --git a/upstream/Makefile b/upstream/Makefile index b7d6643..c375b30 100644 --- a/upstream/Makefile +++ b/upstream/Makefile @@ -79,10 +79,10 @@ tasks/extract_darcs_%: touch $@ update_darcs_%: tasks/extract_darcs_% - if [ -d "build/$*/darcs" ]; then \ + if [ -d "build/$*/_darcs" ]; then \ cd "build/$*" && darcs pull; \ - else - cd "build/$*" && wget -nH -rl 16 -N -X _darcs $(darcs_$*); \ + else \ + cd "build/$*" && wget -np -nH --cut-dirs=1 -rl 16 -N -X _darcs $(darcs_$*); \ fi rm "tasks/build_darcs_$*" # to force a rebuild