Delete: bin/oemaked
authorChris Larson <clarson@kergoth.com>
Thu, 1 Jul 2004 23:29:02 +0000 (23:29 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 1 Jul 2004 23:29:02 +0000 (23:29 +0000)
bin/oemaked [deleted file]

diff --git a/bin/oemaked b/bin/oemaked
deleted file mode 100644 (file)
index 1046e11..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-
-import os, sys, stat, daemon, time
-
-if not "OEFILES" in os.environ:
-    sys.exit(1)
-
-olddir=os.getcwd()
-delay=30
-
-files = []
-for file in os.environ["OEFILES"].split():
-    file = os.path.abspath(file)
-    if os.access(file, os.R_OK):
-        print "%s" % file
-        files.append([file, None])
-
-daemon.daemonize("/home/kergoth/out", "/home/kergoth/err", "/dev/null")
-
-os.chdir(olddir)
-
-def runOEMake():
-    os.system("oemake")
-
-while 1:
-    __dirty = 0
-    for file in files:
-        time = os.stat(file[0])[stat.ST_MTIME]
-        if file[1] is None or time != file[1]:
-            __dirty = 1
-            file[1] = time
-    if __dirty == 1:
-        runOEMake()
-
-    time.sleep(delay)