]> git.proxmox.com Git - rustc.git/commitdiff
d/rules: fix variable typo
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 6 Jun 2024 07:16:41 +0000 (09:16 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 6 Jun 2024 07:16:41 +0000 (09:16 +0200)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
debian/rules

index 18b0cf83ef318cd7f6eabb1a2bc88cbe0a0607e8..0b08190745e450bf98c8314b72da9cec7dde01fc 100755 (executable)
@@ -236,7 +236,7 @@ debian/config.toml: debian/config.toml.in debian/rules
          then sed -i -e '/^rustc = /d' -e '/^cargo = /d' "$@"; fi
 # Work around low-memory (32-bit) architectures: https://github.com/rust-lang/rust/issues/45854
 # otherwise they fail to mmap rustc_driver when building rustdoc in >1.60
-       if [ $DEB_BUILD_ARCH_BITS == "32" ]; then \
+       if [ $(DEB_BUILD_ARCH_BITS) == "32" ]; then \
                sed -i -e 's/^debuginfo-level = .*/debuginfo-level = 0/g' "$@"; \
        fi