diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-11-12 21:49:59 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-11-12 21:49:59 +0000 |
commit | a55839ff8e8744f0dd598fa480557b07f86911a9 (patch) | |
tree | 5d0add21966da081ad38d96f585ab43678647352 | |
parent | f4f5053170a6bf8e45c15ea0435b86f5fa1b6d06 (diff) |
syrep binary external
git-svn-id: file:///home/lennart/svn/public/syrep-chub/trunk@3 4c8cc7d0-f3cb-0310-ad32-ddc431b48844
-rwxr-xr-x | diff.cgi | 2 | ||||
-rwxr-xr-x | info.cgi | 2 | ||||
-rw-r--r-- | sch.py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -17,5 +17,5 @@ if not sch.valid_fname(fname[0]) or not sch.valid_fname(fname[1]): sch.error("Fuck off!") sch.print_header("Differences between '%s' and '%s'" % (fname[0], fname[1])) -sch.run_proc('/usr/local/bin/syrep --diff "%s/%s" "%s/%s"' % (sch.repository_directory, fname[0], sch.repository_directory, fname[1])) +sch.run_proc('$s --diff "%s/%s" "%s/%s"' % (sch.syrep_binary, sch.repository_directory, fname[0], sch.repository_directory, fname[1])) sch.print_footer() @@ -14,5 +14,5 @@ if not sch.valid_fname(fname): sch.error("Fuck off!") sch.print_header("File Info for '%s'" % fname) -sch.run_proc('/usr/local/bin/syrep --info "%s/%s" ' % (sch.repository_directory, fname)) +sch.run_proc('%s --info "%s/%s" ' % (sch.syrep_binary, sch.repository_directory, fname)) sch.print_footer() @@ -2,7 +2,7 @@ import cgi, sys, os repository_directory = "./rep" - +syrep_binary = "/usr/local/bin/syrep" header_done = 0 def print_header(s): |