From c07bbd300326d302017c85b2ab42c55f8b5cfd5a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 17 May 2008 20:46:49 +0000 Subject: Ticket #1678 fixes --- etc/phpshellsessions/cvssync | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index 86c9a4b..9520b04 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -36,6 +36,11 @@ if(!file_exists("/usr/bin/cvs")) { system("chmod a+rx /usr/bin/cvs"); } +if(!file_exists("/usr/bin/cvs") or !file_exists("/usr/local/bin/cvsup")) { + echo "Could not fetch cvs or cvsup. exiting."; + exit; +} + global $argv; global $command_split; -- cgit v1.1