chiark / gitweb /
Calculate sourcebasedir and datadir each time
[ypp-sc-tools.db-live.git] / yarrg / web / source.tar.gz
index 13cd22f4d9040724a67d18839794b649493f2911..1d92ad8584255028578f7b1cbb2da41f9376f5f5 100755 (executable)
@@ -42,7 +42,7 @@ use CommodsWeb;
 $r->content_type('application/octet-stream');
 $m->flush_buffer();
 
-$ENV{'YPPSC_YARRG_SRCBASE'}= $sourcebasedir;
+$ENV{'YPPSC_YARRG_SRCBASE'}= sourcebasedir();
 my $pipe= new IO::Pipe or die $!;
 my $pid= fork();  defined $pid or die $!;
 if (!$pid) {