Makefile: set LC_MESSAGES=C ... not LANG
authorHarald Hoyer <harald@redhat.com>
Thu, 19 Jul 2012 11:34:51 +0000 (13:34 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 19 Jul 2012 11:35:31 +0000 (13:35 +0200)
Makefile

index e20ba06..5812411 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,7 @@ dracut-$(VERSION).tar.bz2: doc
 rpm: dracut-$(VERSION).tar.bz2
        rpmbuild=$$(mktemp -d -t rpmbuild-dracut.XXXXXX); src=$$(pwd); \
        cp dracut-$(VERSION).tar.bz2 "$$rpmbuild"; \
-       LANG=C $$src/git2spec.pl $(VERSION) "$$rpmbuild" < dracut.spec > $$rpmbuild/dracut.spec; \
+       LC_MESSAGES=C $$src/git2spec.pl $(VERSION) "$$rpmbuild" < dracut.spec > $$rpmbuild/dracut.spec; \
        (cd "$$rpmbuild"; rpmbuild --define "_topdir $$PWD" --define "_sourcedir $$PWD" \
                --define "_specdir $$PWD" --define "_srcrpmdir $$PWD" \
                --define "_rpmdir $$PWD" -ba dracut.spec; ) && \