The following changes were made

* Updated Makefile to get version from Snap.pm
  * Updated virtfs() in Snap.pm to properly check for dir with -d
This commit is contained in:
2017-05-31 10:54:33 -05:00
parent d306fe03ae
commit bfa1d110c4
2 changed files with 5 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ use constant VERFILE => eval {
}
};
use constant {
VERSION => '0.7',
VERSION => '0.8',
SNAPDIR => TARGET . '/var/lib/snap',
PKGDIR => TARGET . '/var/lib/snap/packages',
INSTDIR => TARGET . '/var/lib/snap/installed',
@@ -832,7 +832,7 @@ sub virtfs {
my $stat = 0;
my $pid;
if ( ! -f $virtfs->{$fs}{'dir'} ) {
if ( ! -d $virtfs->{$fs}{'dir'} ) {
next;
}