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:
parent
960f140d19
commit
21ec5f8451
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue