Skip to content

Commit

Permalink
Fix expanding non-existing ASSETS paths
Browse files Browse the repository at this point in the history
This ensures that if intermediate directories don't exist, we still
expand the path instead of producing an error (and ignoring it in the
Makefile).
  • Loading branch information
yorickpeterse committed Jul 17, 2024
1 parent 3119931 commit 407666a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ASSETS := ${DATADIR}/idoc/assets

build:
inko pkg sync
inko build --define "idoc.cmd.ASSETS=$$(realpath ${ASSETS})" -o ./build/idoc
inko build --define "idoc.cmd.ASSETS=$$(realpath --canonicalize-missing ${ASSETS})" -o ./build/idoc

install: build
install -D --mode=755 build/idoc ${DESTDIR}${BINDIR}/idoc
Expand Down

0 comments on commit 407666a

Please sign in to comment.