summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/packages/mksite.py')
-rw-r--r--src/packages/mksite.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/packages/mksite.py b/src/packages/mksite.py
index 9849b1be1e..7e3561bb70 100644
--- a/src/packages/mksite.py
+++ b/src/packages/mksite.py
@@ -155,7 +155,7 @@ def main():
open(config.LOCALHOME + '/ebuilds/index.shtml', 'w').write(
index.replace(
'<!--#include virtual="main.shtml"-->',
- '<!--#exec cmd="./query_ebuild.py $QUERY_STRING" -->')
+ '<!--#exec cmd="export QUERY_STRING;./query_ebuild.py" -->')
)
# /feeds
@@ -190,7 +190,7 @@ def main():
# /search
open(config.LOCALHOME + '/search/index.shtml', 'w').write(
index.replace('<!--#include virtual="main.shtml"-->',
- '<!--#exec cmd="./search.py $QUERY_STRING" -->'
+ '<!--#exec cmd="export QUERY_STRING;./search.py" -->'
)
)
@@ -202,7 +202,7 @@ def main():
# /similar
open(config.LOCALHOME + '/similar/index.shtml', 'w').write(
index.replace('<!--#include virtual="main.shtml"-->',
- '<!--#exec cmd="./similar.py $QUERY_STRING" -->'
+ '<!--#exec cmd="export QUERY_STRING;./similar.py" -->'
)
)