mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-17 03:41:28 +00:00
suppress the eternally annoying warning message from dpkg-architecture
This commit is contained in:
parent
c6c7cc7c1f
commit
6844b5aa48
@ -504,7 +504,7 @@ if [ -n "$TARGET_ARCH" ]; then
|
|||||||
# Ultimately we would like there to be a "cross-build-essential-$arch"
|
# Ultimately we would like there to be a "cross-build-essential-$arch"
|
||||||
# package. In practice, the cross-g++ package is sufficient to pull in
|
# package. In practice, the cross-g++ package is sufficient to pull in
|
||||||
# everything we need.
|
# everything we need.
|
||||||
if ! target_tuple=$(dpkg-architecture -a"$TARGET_ARCH" -qDEB_HOST_GNU_TYPE)
|
if ! target_tuple=$(dpkg-architecture -a"$TARGET_ARCH" -qDEB_HOST_GNU_TYPE 2>/dev/null)
|
||||||
then
|
then
|
||||||
echo "Unknown target architecture $TARGET_ARCH" >&2
|
echo "Unknown target architecture $TARGET_ARCH" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user