<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,6 +9,9 @@ use File::Spec;
 my $parrot_dir = $ENV{PARROT_DIR}
     or die 'Please set $PARROT_DIR (see README).'.&quot;\n&quot;;
 
+my $rakudo_dir = $ENV{RAKUDO_DIR}
+    or die 'Please set $RAKUDO_DIR (see README).'.&quot;\n&quot;;
+
 $ENV{PERL6LIB}
     or die 'Please set $PERL6LIB (see README).'.&quot;\n&quot;;
 
@@ -17,7 +20,16 @@ if ( ! -d $parrot_dir ) {
     exit 1;
 } elsif ( ! -x File::Spec-&gt;catfile( $parrot_dir, 'parrot' )) {
     print STDERR &quot;Couldn't find parrot executable in $parrot_dir, &quot;
-                 . &quot;have you compiled?&quot;;
+                 . &quot;have you compiled?\n&quot;;
+    exit 1;
+}
+
+if ( ! -d $rakudo_dir ) {
+    print STDERR &quot;Not a directory $rakudo_dir, exiting...\n&quot;;
+    exit 1;
+} elsif ( ! -f File::Spec-&gt;catfile( $rakudo_dir, 'perl6.pbc' )) {
+    print STDERR &quot;Couldn't find perl6.pbc file in $rakudo_dir, &quot;
+                 . &quot;have you compiled?\n&quot;;
     exit 1;
 }
 
@@ -26,6 +38,7 @@ my @infiles = map { $_.'.in' } qw&lt; Makefile test_wiki.sh wiki.sh &gt;;
 
 my %replacements = (
     PARROT_DIR =&gt; $parrot_dir,
+    RAKUDO_DIR =&gt; $rakudo_dir,
 );
 
 if ( !-e 'lib/Test.pm' ) {</diff>
      <filename>Makefile.PL</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,5 @@
 PARROT_DIR=&lt;PARROT_DIR&gt;
+RAKUDO_DIR=&lt;RAKUDO_DIR&gt;
 
 SOURCES=lib/CGI.pm lib/Text/Markup/Wiki/Minimal.pm \
 	lib/Text/Markup/Wiki/MediaWiki.pm lib/Test.pm \
@@ -13,7 +14,7 @@ PIRS=$(SOURCES:.pm=.pir)
 all: $(PIRS)
 
 %.pir: %.pm
-	$(PARROT_DIR)/parrot $(PARROT_DIR)/languages/rakudo/perl6.pbc --target=pir --output=$@ $&lt;
+	$(PARROT_DIR)/parrot $(RAKUDO_DIR)/perl6.pbc --target=pir --output=$@ $&lt;
 
 clean:
 	rm -f $(PIRS)
@@ -21,5 +22,5 @@ clean:
 tests: test
 
 test: all
-	prove -e '$(PARROT_DIR)/parrot $(PARROT_DIR)/languages/rakudo/perl6.pbc'\
+	prove -e '$(PARROT_DIR)/parrot $(RAKUDO_DIR)/perl6.pbc'\
 	      -r --nocolor t/</diff>
      <filename>Makefile.in</filename>
    </modified>
    <modified>
      <diff>@@ -54,11 +54,12 @@ REPOSITORY LAYOUT
 RUNNING NOVEMBER
 ----------------
 
-Before building November you have to set the PARROT_DIR and PERL6LIB
-environment variables to include the lib/ subdirectory of the November
-repository. In bash, that would look like this:
+Before building November you have to set the PARROT_DIR, RAKUDO_DIR and
+PERL6LIB environment variables to include the lib/ subdirectory of the
+November repository. In bash, that would look like this:
 
   $ export PARROT_DIR=/path/to/parrot
+  $ export RAKUDO_DIR=/path/to/rakudo
   $ export PERL6LIB=/path/to/repository/of/november/lib
 
 After that, you can build as usual.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -2,8 +2,9 @@
 
 QS=$1
 PARROT_DIR=&lt;PARROT_DIR&gt;
+RAKUDO_DIR=&lt;RAKUDO_DIR&gt;
 env REQUEST_METHOD=GET \
 SERVER_NAME='test.foo' \
 SERVER_PORT='80' \
 REQUEST_URI=$QS \
-$PARROT_DIR/parrot $PARROT_DIR/languages/rakudo/perl6.pbc wiki
+$PARROT_DIR/parrot $RAKUDO_DIR/perl6.pbc wiki</diff>
      <filename>test_wiki.sh.in</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,5 @@
 #!/bin/sh
 
 PARROT_DIR=&lt;PARROT_DIR&gt;
-exec $PARROT_DIR/parrot $PARROT_DIR/languages/rakudo/perl6.pbc wiki
+RAKUDO_DIR=&lt;RAKUDO_DIR&gt;
+exec $PARROT_DIR/parrot $RAKUDO_DIR/perl6.pbc wiki</diff>
      <filename>wiki.sh.in</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5db9a017fea454e239eacaec7565a329ac9b6ba6</id>
    </parent>
  </parents>
  <author>
    <name>Johan Viklund</name>
    <email>johan.viklund@gmail.com</email>
  </author>
  <url>http://github.com/viklund/november/commit/c2480acb967190a11819cfa2f12e57f37ad688be</url>
  <id>c2480acb967190a11819cfa2f12e57f37ad688be</id>
  <committed-date>2009-03-17T20:23:49-07:00</committed-date>
  <authored-date>2009-03-17T20:23:49-07:00</authored-date>
  <message>Check RAKUDO_DIR for perl6.pbc</message>
  <tree>91359e9e47cf8b0b8d4781926dc347aac65f3e3e</tree>
  <committer>
    <name>Johan Viklund</name>
    <email>johan.viklund@gmail.com</email>
  </committer>
</commit>
