Browse Source

This should totally solve any FHS complaints.

master
freesource 23 years ago
parent
commit
30e78d4540
  1. 19
      expect_uml
  2. 22
      yard_chrooted_tests

19
expect_uml

@ -23,15 +23,6 @@
##
##############################################################################
use BootRoot::UML;
use File::Basename;
if ( !$ARGV[0] ) {
die "expect_uml ubd0 ubd1 other-options mount-point preserve_ownership filesystem_command\n";
}
BEGIN {
@ -54,6 +45,16 @@ BEGIN {
}
use BootRoot::UML;
use File::Basename;
if ( !$ARGV[0] ) {
die "expect_uml ubd0 ubd1 other-options mount-point preserve_ownership filesystem_command\n";
}
my $arguments = "$ARGV[0] $ARGV[1] $ARGV[2]";
my $mount_point = "$ARGV[3]";
my $preserve_ownership = "$ARGV[4]";

22
yard_chrooted_tests

@ -30,6 +30,28 @@
##
##############################################################################
BEGIN {
my $fhs = grep(/\/usr\/share\/perl5/,@INC);
if ($fhs == 0) {
unshift(@INC,"/usr/share/perl5");
}
my $sbin = grep(/\/sbin/,$ENV{'PATH'});
if ($sbin == 0) {
$ENV{'PATH'} = "/sbin:" . $ENV{'PATH'};
}
$sbin = grep(/\/usr\/sbin/,$ENV{'PATH'});
if ($sbin == 0) {
$ENV{'PATH'} = "/usr/sbin:" . $ENV{'PATH'};
}
}
use strict;
use BootRoot::Yard;
use File::Path;

Loading…
Cancel
Save