mirror of https://github.com/digint/btrbk
btrbk: replace "realpath -e" with "readlink -e" for mountpoint discovery
parent
91d02ca97b
commit
796b6bd9bf
|
@ -1,3 +1,8 @@
|
||||||
|
btrbk-current
|
||||||
|
|
||||||
|
* Replace "realpath -e" with "readlink -e" for mountpoint discovery
|
||||||
|
(close #92).
|
||||||
|
|
||||||
btrbk-0.23.2
|
btrbk-0.23.2
|
||||||
|
|
||||||
* Added "lockfile" configuration option and --lockfile command line
|
* Added "lockfile" configuration option and --lockfile command line
|
||||||
|
|
4
btrbk
4
btrbk
|
@ -46,7 +46,7 @@ use Carp qw(confess);
|
||||||
use Getopt::Long qw(GetOptions);
|
use Getopt::Long qw(GetOptions);
|
||||||
use Time::Local qw( timelocal timegm timegm_nocheck );
|
use Time::Local qw( timelocal timegm timegm_nocheck );
|
||||||
|
|
||||||
our $VERSION = '0.23.2';
|
our $VERSION = '0.23.3-dev';
|
||||||
our $AUTHOR = 'Axel Burri <axel@tty0.ch>';
|
our $AUTHOR = 'Axel Burri <axel@tty0.ch>';
|
||||||
our $PROJECT_HOME = '<http://digint.ch/btrbk/>';
|
our $PROJECT_HOME = '<http://digint.ch/btrbk/>';
|
||||||
|
|
||||||
|
@ -1196,7 +1196,7 @@ sub system_realpath($)
|
||||||
|
|
||||||
my $path = $vol->{PATH} // die;;
|
my $path = $vol->{PATH} // die;;
|
||||||
my @quiet = ($loglevel < 3) ? ('-q') : ();
|
my @quiet = ($loglevel < 3) ? ('-q') : ();
|
||||||
my $ret = run_cmd(cmd => [ qw(realpath), '-e', @quiet, $path ],
|
my $ret = run_cmd(cmd => [ qw(readlink), '-e', @quiet, $path ],
|
||||||
rsh => $vol->{RSH},
|
rsh => $vol->{RSH},
|
||||||
non_destructive => 1,
|
non_destructive => 1,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue