diff --git a/debian/rules b/debian/rules
index 34881f5cc3b34c97bee5152c9a596b150c60cdf6..7b321d686dd92a8162c975e4878a1e86910bfb34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,10 +34,10 @@ python-install%:
 python-test%: python-install%
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	: # Run unittests here against installed scikits.learn
-	export PYTHONPATH=`/bin/ls -d $$PWD/$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/`
-	export MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build
-	cd build/; python$* /usr/bin/nosetests -s scikits.learn
-	cd build/; python$* /usr/bin/nosetests --doctest-extension=rst ../doc/
+	export PYTHONPATH=`/bin/ls -d $$PWD/$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/`; \
+	export MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build; \
+	cd build/; python$* /usr/bin/nosetests -s scikits.learn; \
+			   python$* /usr/bin/nosetests --doctest-extension=rst ../doc/
 else
 	: # Skip unittests due to nocheck
 endif