From 0a7b5910eea0a819b3229d446fae6ccfd7bc9f69 Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Tue, 21 Sep 2010 10:38:53 +0100
Subject: [PATCH] Version 2010-09-21 11:38

---
 src/mio.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/mio.py b/src/mio.py
index 243477f..a0c1a28 100755
--- a/src/mio.py
+++ b/src/mio.py
@@ -6,6 +6,7 @@ import mio.transform
 import mio.parser
 import mio.repository
 import optparse
+import os
 import os.path
 import re
 import sys
@@ -116,6 +117,9 @@ if __name__ == '__main__':
     rules = mio.repository.Repository(find_and_parse)
 
     rpm_result = None
+
+    if options.prefix:
+        os.environ["MIO_PREFIX"] = options.prefix
     
     if options.list:
         # List all targets reachable from the given source files
-- 
GitLab