Author: aurel32
Date: 2007-11-01 10:18:37 +0000 (Thu, 01 Nov 2007)
New Revision: 2639

Modified:
   glibc-package/branches/glibc-2.7/debian/rules
Log:
Add a check to make sure the experimental version is not uploaded to unstable


Modified: glibc-package/branches/glibc-2.7/debian/rules
===================================================================
--- glibc-package/branches/glibc-2.7/debian/rules       2007-11-01 10:08:46 UTC 
(rev 2638)
+++ glibc-package/branches/glibc-2.7/debian/rules       2007-11-01 10:18:37 UTC 
(rev 2639)
@@ -156,6 +156,8 @@
 include debian/rules.d/*.mk
 
 clean:: debhelper-clean
+       #  Do not accidentally upload into unstable
+       dpkg-parsechangelog  | grep "^Distribution:" | grep -q -v unstable
        rm -rf $(patsubst %,debian/tmp-%,$(GLIBC_PASSES))
        rm -rf $(build-tree)
        rm -rf $(stamp)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to