btrbk: replace "realpath -e" with "readlink -e" for mountpoint discovery

pull/95/head
Axel Burri 2016-06-18 13:04:43 +02:00
parent 91d02ca97b
commit 796b6bd9bf
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
btrbk-current
* Replace "realpath -e" with "readlink -e" for mountpoint discovery
(close #92).
btrbk-0.23.2
* Added "lockfile" configuration option and --lockfile command line

4
btrbk
View File

@ -46,7 +46,7 @@ use Carp qw(confess);
use Getopt::Long qw(GetOptions);
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 $PROJECT_HOME = '<http://digint.ch/btrbk/>';
@ -1196,7 +1196,7 @@ sub system_realpath($)
my $path = $vol->{PATH} // die;;
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},
non_destructive => 1,
);