From: Gerard Oskamp <[email protected]>

Dispatch on the value of the DIST_RELEASE variable,
not its name.

Signed-off-by: Gerard Oskamp <[email protected]>
Signed-off-by: Klaus Aehlig <[email protected]>
---
 devel/build_chroot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/build_chroot b/devel/build_chroot
index 7dc8152..ab9e0eb 100755
--- a/devel/build_chroot
+++ b/devel/build_chroot
@@ -138,7 +138,7 @@ debootstrap --arch $ARCH $DIST_RELEASE $CHDIR
 
 APT_INSTALL="apt-get install -y --no-install-recommends"
 
-if [ DIST_RELEASE = squeeze ]
+if [ $DIST_RELEASE = squeeze ]
 then
   echo "deb http://backports.debian.org/debian-backports"; \
        "$DIST_RELEASE-backports main contrib non-free" \
-- 
2.1.0.rc2.206.gedb03e5

Reply via email to