1 Commits

Author SHA1 Message Date
Jay Larson
bfa1d110c4 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
2017-05-31 10:54:33 -05:00
2 changed files with 5 additions and 3 deletions

View File

@@ -12,11 +12,13 @@ DEPENDS = binutils,coreutils,gzip,perl>=5.20.0,tar
ARCH = x86_64
URL =
DESC = The Snaplinux package management system
SNAPVER = 0
ARCHIVE := ''
SRCDIR := $(PWD)/SRC/snap
PATCHDIR := $(PWD)/SRC/patches
VERSION := 0.7-0
VERSION := $(shell grep 'VERSION =>' SRC/snap/Snap.pm| \
sed "s/.*=> '\|',//g")-$(SNAPVER)
include /usr/share/snap/Makefile.snaplinux

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;
}