aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-01-21 23:31:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-01-21 23:31:54 +0000
commit5f4dcd2efc591b3c7ec087c7f712c35b9fb25d7b (patch)
tree5ee2bd6ffb338a022c84944717c40bb4c8ed56a0 /scripts/auto-build
parenta2554dcb8732b061f14522a69116eaa4e76303ac (diff)
installed script as a cron job
svn path=/trunk/; revision=10592
Diffstat (limited to 'scripts/auto-build')
-rwxr-xr-xscripts/auto-build/create-latest-build-listing.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/auto-build/create-latest-build-listing.py b/scripts/auto-build/create-latest-build-listing.py
index eb201205..f7d97a88 100755
--- a/scripts/auto-build/create-latest-build-listing.py
+++ b/scripts/auto-build/create-latest-build-listing.py
@@ -10,13 +10,11 @@ for root, dirs, files in os.walk('/var/www/auto-build/'):
dirs.sort()
if 'latest' in dirs:
dirs.remove('latest')
- if 'test' in dirs:
- dirs.remove('test')
for name in files:
m = re.search('^Pd-[01]\.[0-9][0-9].*[^5]$', name)
if m:
commonbuildname = re.sub('-20[01][0-9][01][0-9][0-9][0-9]', '', name)
- commonbuildpath = os.path.join('/var/www/auto-build/test', commonbuildname)
+ commonbuildpath = os.path.join('/var/www/auto-build/latest', commonbuildname)
buildtarball = os.path.join(root, m.string)
#print "link: ", buildtarball, commonbuildpath
try: