diff options
author | Turbo Fredriksson <[email protected]> | 2014-06-09 23:27:09 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-06-10 16:46:21 -0700 |
commit | 0f629346bb335d8521600ae1491884fe8a8a2d27 (patch) | |
tree | 2ce98a6f1d0f4b430560d04e15ed347b5dd5bf4c /scripts | |
parent | 21b446a79e2ebd372d34c81a1d97f5f4519ebea9 (diff) |
Set LANG to a reasonable default (C)
Set LANG=C before calling 'rpmbuild' to avoid rpmbuild failing on
the translated date string in the changelog.
Signed-off-by: Turbo Fredriksson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes: zfsonlinux/spl#306
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kmodtool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kmodtool b/scripts/kmodtool index 852ade021..ce3f04294 100755 --- a/scripts/kmodtool +++ b/scripts/kmodtool @@ -64,7 +64,7 @@ print_akmodtemplate () cat <<EOF %global akmod_install mkdir -p \$RPM_BUILD_ROOT/%{_usrsrc}/akmods/; \\\ -rpmbuild --define "_sourcedir %{_sourcedir}" \\\ +LANG=C rpmbuild --define "_sourcedir %{_sourcedir}" \\\ --define "_srcrpmdir \$RPM_BUILD_ROOT/%{_usrsrc}/akmods/" \\\ -bs --nodeps %{_specdir}/%{name}.spec ; \\\ ln -s \$(ls \$RPM_BUILD_ROOT/%{_usrsrc}/akmods/) \$RPM_BUILD_ROOT/%{_usrsrc}/akmods/${kmodname}-kmod.latest |