The following changes were made:
* Moved temp files back to /var/tmp (/tmp doesn't make sense) * Package will now create /var/tmp with the correct perms
This commit is contained in:
5
Makefile
5
Makefile
@@ -13,7 +13,7 @@ ARCH = x86_64
|
||||
URL = http://ex-vi.sourceforge.net/
|
||||
BRIEF = Text editor
|
||||
DESC = The vi editor is one of the most common text editors on Unix.
|
||||
SNAPVER = 7
|
||||
SNAPVER = 8
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
@@ -53,7 +53,8 @@ $(ROOT): $(SRCDIR)/ex
|
||||
fi
|
||||
|
||||
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
||||
install -v -d -m 1777 $(ROOT)/tmp
|
||||
install -v -d -m 755 $(ROOT)/var && \
|
||||
install -v -d -m 1777 $(ROOT)/var/tmp
|
||||
|
||||
clean:
|
||||
@rm -rvf $(ROOT) \
|
||||
|
||||
Reference in New Issue
Block a user