summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2010-04-13 16:08:55 +0530
committerNirbheek Chauhan <nirbheek@gentoo.org>2010-04-13 16:08:57 +0530
commit681bc6f89d5e5935aef1b52c075b44c162d4e140 (patch)
treee757aabf77a747aa4fdd5fbb85c3aa95eab06a23 /scripts
parentscripts: add find-keywordreq script (diff)
downloadgnome-681bc6f89d5e5935aef1b52c075b44c162d4e140.tar.gz
gnome-681bc6f89d5e5935aef1b52c075b44c162d4e140.tar.bz2
gnome-681bc6f89d5e5935aef1b52c075b44c162d4e140.zip
gen-archlist: if not STABLE: it's broken
* Error out if not STABLE; the codebase is too convoluted to support anything except STABLEREQ anymore. * Change LINE_SEP to ''
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_archlist.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index 3e4c57a8..f58b4fea 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -36,7 +36,7 @@ UNSTABLE_ARCHES = ('~alpha', '~amd64', '~arm', '~hppa', '~ia64', 'm68k', '~ppc',
'~ppc64', '~s390', '~sh', '~sparc', '~x86', '~x86-fbsd')
ALL_ARCHES = STABLE_ARCHES+UNSTABLE_ARCHES
SYSTEM_PACKAGES = []
-LINE_SEP = ' '
+LINE_SEP = ''
##############
## Settings ##
@@ -77,14 +77,12 @@ if STABLE:
else:
ARCHES = UNSTABLE_ARCHES
-if os.environ.has_key('STABLE'):
- STABLE = os.environ['STABLE']
if os.environ.has_key('CHECK_DEPS'):
CHECK_DEPS = os.environ['CHECK_DEPS']
-if CHECK_DEPS and not STABLE:
- print 'Dep-checking mode is broken with keyword checking'
- # Causes infinite loops.
+if not STABLE:
+ print 'Currently broken for anything except STABLEREQ'
+ print 'Please set STABLE to True'
sys.exit(1)
######################