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 := ARCHIVE :=
SRCDIR := $(PWD)/SRC/snap-base SRCDIR := $(PWD)/SRC/snap-base
PATCHDIR := $(PWD)/SRC/patches PATCHDIR := $(PWD)/SRC/patches
VERSION := 0.0alpha1-2 VERSION := 0.0alpha1-3
include /usr/share/snap/Makefile.snaplinux include /usr/share/snap/Makefile.snaplinux

View File

@@ -28,13 +28,13 @@ case $1 in
${TARGET}/etc/snap.conf ${TARGET}/etc/snap.conf
fi fi
if [ ! -f ${TARGET}/var/log/btmp ]; then 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 fi
if [ ! -f ${TARGET}/var/log/lastlog ]; then 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 fi
if [ ! -f ${TARGET}/var/log/wtmp ]; then 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 fi
;; ;;
prerm) prerm)