Skip to content

Commit

Permalink
build: Correctly generate spec file's date
Browse files Browse the repository at this point in the history
LC_ALL=C was outside of the shell environment so the date
was incorrect in the spec file if the system default language was not
C or English.

Signed-off-by: Christine Caulfield <[email protected]>
  • Loading branch information
chrissie-c committed Jan 19, 2016
1 parent 09cba8c commit 2dd75de
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 @@ -60,7 +60,7 @@ clean-generic:

$(SPEC): $(SPEC).in
$(AM_V_GEN)rm -f $@-t $@
LC_ALL=C date="$(shell date "+%a %b %d %Y")" && \
date="$(shell LC_ALL=C date "+%a %b %d %Y")" && \
if [ -f .tarball-version ]; then \
gitver="$(shell cat .tarball-version)" && \
rpmver=$$gitver && \
Expand Down

0 comments on commit 2dd75de

Please sign in to comment.