From 261d8c904ae6a6c81e277d5955e717ac9de989bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Teichgr=C3=A4ber?= Date: Mon, 4 Jul 2011 18:48:03 +0200 Subject: [PATCH] misc/bmprepare.rc: fix --- misc/bmprepare.rc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/misc/bmprepare.rc b/misc/bmprepare.rc index c42fd52..9d4dfb1 100644 --- a/misc/bmprepare.rc +++ b/misc/bmprepare.rc @@ -21,11 +21,13 @@ fn updatetree{ # hg-id dir hg-url make-target ~ 0 0 } +test -f portid +test -f previd -echo '*' prepare original c-based peg-markdown ($portid) +id=`{cat portid} +echo '*' prepare original c-based peg-markdown $id +updatetree $id ,,pmd git://github.com/jgm/peg-markdown.git () -updatetree `{cat portid} ,,pmd git://github.com/jgm/peg-markdown.git () - -echo '*' prepare "previous version" ($previd) - -updatetree `{cat previd} ,,prevmd . all +id=`{cat previd} +echo '*' prepare "previous version" $id +updatetree $id ,,prevmd . all