diff options
-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): |