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

@@ -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