boxes: Ensure .box is owned by the current user

This commit is contained in:
Fabio Rehm 2014-03-09 20:24:09 -03:00
parent 2c934d4ec4
commit 02a65820bf

View file

@ -10,6 +10,7 @@ $(UBUNTU_BOXES): PACKAGE = "output/vagrant-lxc-${@}-amd64-${TODAY}.box"
$(UBUNTU_BOXES): $(UBUNTU_BOXES):
@sudo -E ./mk-ubuntu.sh $(@) amd64 $(CONTAINER) $(PACKAGE) @sudo -E ./mk-ubuntu.sh $(@) amd64 $(CONTAINER) $(PACKAGE)
@sudo chmod +rw $(PACKAGE) @sudo chmod +rw $(PACKAGE)
@sudo chown ${USER}: $(PACKAGE)
clean: clean:
@for r in $(UBUNTU_BOXES); do \ @for r in $(UBUNTU_BOXES); do \