Corrected incorrect DESTDIR variables in usher (should be TARGET)

This commit is contained in:
2017-05-18 19:23:19 -05:00
parent 4cec71bfbb
commit ab041cd8ef
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ DESC = Base system directories and files
ARCHIVE :=
SRCDIR := $(PWD)/SRC/snap-base
PATCHDIR := $(PWD)/SRC/patches
VERSION := 0.0alpha1-2
VERSION := 0.0alpha1-3
include /usr/share/snap/Makefile.snaplinux

View File

@@ -28,13 +28,13 @@ case $1 in
${TARGET}/etc/snap.conf
fi
if [ ! -f ${TARGET}/var/log/btmp ]; then
install -v -m 600 /dev/null $(DESTDIR)/var/log/btmp
install -v -m 600 /dev/null ${TARGET}/var/log/btmp
fi
if [ ! -f ${TARGET}/var/log/lastlog ]; then
install -v -m 664 /dev/null $(DESTDIR)/var/log/lastlog
install -v -m 664 /dev/null ${TARGET}/var/log/lastlog
fi
if [ ! -f ${TARGET}/var/log/wtmp ]; then
install -v -m 664 /dev/null $(DESTDIR)/var/log/wtmp
install -v -m 664 /dev/null ${TARGET}/var/log/wtmp
fi
;;
prerm)