Skip to content

Commit

Permalink
share/Makefile.am: Test DESTDIR/datadir dir
Browse files Browse the repository at this point in the history
  • Loading branch information
danyspin97 authored and jevolk committed Jan 20, 2019
1 parent 41bb600 commit 20eceba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
datadir = @datadir@/$(PACKAGE_TARNAME)

install-mkdirs:
-@if test ! -d $(datadir); then \
-@if test ! -d $(DESTDIR)$(datadir); then \
echo "mkdir -p $(DESTDIR)$(datadir)"; \
mkdir -p $(DESTDIR)$(datadir); \
fi
Expand Down

0 comments on commit 20eceba

Please sign in to comment.