Skip to content

Commit

Permalink
Remove redundant call to mkdir
Browse files Browse the repository at this point in the history
It should be enough like this since mkdir will create all the
directories because we use the `-p` flag.

I guess the problem just happened because we touched a file already in a
directory that might not exist. By having:
`-touch $(DESTDIR)${sysconfdir}/odbcinst.ini`
before the mkdir call.
  • Loading branch information
jubalh committed Apr 10, 2018
1 parent b29f172 commit 3b550a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile.am
Expand Up @@ -46,7 +46,6 @@ EXTRA_DIST = \
Makefile.svn

install-data-am: install-pkgconfigDATA
-mkdir -p $(DESTDIR)${sysconfdir}
-mkdir -p $(DESTDIR)${sysconfdir}/ODBCDataSources
-touch $(DESTDIR)${sysconfdir}/odbcinst.ini
-touch $(DESTDIR)${sysconfdir}/odbc.ini
Expand Down

0 comments on commit 3b550a7

Please sign in to comment.