additional debian packaging fixes
[MogileFS-Server.git] / dev-mogstored.pl
blobf5b3f83f5fb966a94a0eabde08ef08a046434322
1 #!/usr/bin/perl
2 use strict;
3 use Cwd;
4 my $cwd = getcwd;
5 my ($svn) = $cwd =~ m!^(.+)/mogilefs/server! or
6 die "not sure where we're at";
8 $ENV{PERL5LIB} = join(":",
9 "$svn/mogilefs/server/lib",
10 "$svn/perlbal/lib",
11 ($ENV{PERL5LIB} ? ($ENV{PERL5LIB}) : ()),
13 print "export PERL5LIB=$ENV{PERL5LIB}\n";
14 system($^X, "./mogstored", @ARGV);