pull/74/merge
Moritz U 2017-04-29 19:57:49 +00:00 committed by GitHub
commit 4f80bf8d89
1 changed files with 5 additions and 4 deletions

9
btrbk
View File

@ -3682,10 +3682,11 @@ sub exit_status
MAIN: MAIN:
{ {
# set PATH instead of using absolute "/sbin/btrfs" (for now), as # Prefix PATH with /sbin etc. instead of using absolute
# different distros (and even different versions of btrfs-progs) # "/sbin/btrfs" (for now), as different distros (and even different
# install the "btrfs" executable to different locations. # versions of btrfs-progs) install the "btrfs" executable to
$ENV{PATH} = '/sbin:/bin:/usr/sbin:/usr/bin'; # different locations.
$ENV{PATH} .= '/sbin:/bin:/usr/sbin:/usr/bin';
Getopt::Long::Configure qw(gnu_getopt); Getopt::Long::Configure qw(gnu_getopt);
my $start_time = time; my $start_time = time;