CPackDeb: Invoke "dpkg-shlibdeps --version" with C locale

The version message is localized and may not match when a non-english locale is in use.
This commit is contained in:
Nils Gladitz 2014-05-28 13:17:57 +02:00
parent 960f140d19
commit 21ec5f8451
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ if(CPACK_DEBIAN_PACKAGE_SHLIBDEPS)
# Check version of the dpkg-shlibdeps tool using CPackRPM method
if(SHLIBDEPS_EXECUTABLE)
execute_process(COMMAND ${SHLIBDEPS_EXECUTABLE} --version
execute_process(COMMAND env LC_ALL=C ${SHLIBDEPS_EXECUTABLE} --version
OUTPUT_VARIABLE _TMP_VERSION
ERROR_QUIET
OUTPUT_STRIP_TRAILING_WHITESPACE)