Skip to content

Commit

Permalink
build: always create dirs
Browse files Browse the repository at this point in the history
If we're installing artifacts to a mock environment for example
the directories like /usr/bin may not exist.

Signed-off-by: Leandro Dorileo <[email protected]>
  • Loading branch information
Leandro Dorileo authored and mdhorn committed Oct 23, 2018
1 parent af6ca59 commit ec69e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ endif
install: build
@mkdir -p $(THEME_DIR)
@mkdir -p $(CONFIG_DIR)
@mkdir -p $(DESTDIR)/usr/bin
@mkdir -p $(SYSTEMD_DIR)
@install -m 755 $(top_srcdir)/.gopath/bin/clr-installer $(DESTDIR)/usr/bin/clr-installer
@install -m 644 $(top_srcdir)/themes/clr-installer.theme $(THEME_DIR)
@install -m 644 $(top_srcdir)/etc/clr-installer.yaml $(CONFIG_DIR)
Expand Down

0 comments on commit ec69e69

Please sign in to comment.