Skip to content

Commit

Permalink
Fix build for ${prefix} containing whitespace
Browse files Browse the repository at this point in the history
If sysconfdir contained whitespace, the -DETC_TARSNAP_CONF=... CFLAG
would break.  Adding quotes seems to fix this.

Reported by:	Merijn Verstraaten
  • Loading branch information
cperciva committed Jul 19, 2015
1 parent e54f24f commit a19cdf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ tarsnap_CFLAGS= \
-I$(top_srcdir)/lib/util \
-I$(top_srcdir)/libcperciva/crypto \
-I$(top_srcdir)/libcperciva/util \
-DETC_TARSNAP_CONF=\"${sysconfdir}/tarsnap.conf\" \
"-DETC_TARSNAP_CONF=\"${sysconfdir}/tarsnap.conf\"" \
-DUSERAGENT=\"tarsnap-${VERSION}\"
tarsnap_dist_man_MANS= tar/tarsnap.1 tar/tarsnap.conf.5

Expand Down

0 comments on commit a19cdf3

Please sign in to comment.