[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/cronjobs/cvs-cron grap.c,1.1,1.2
From: |
cbayle |
Subject: |
[Gforge-commits] gforge/cronjobs/cvs-cron grap.c,1.1,1.2 |
Date: |
Tue, 16 Nov 2004 15:42:09 -0600 |
Update of /cvsroot/gforge/gforge/cronjobs/cvs-cron
In directory db.perdue.net:/tmp/cvs-serv11092/cronjobs/cvs-cron
Modified Files:
grap.c
Log Message:
Added support for svnserve (Closes Patch #994)
Index: grap.c
===================================================================
RCS file: /cvsroot/gforge/gforge/cronjobs/cvs-cron/grap.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- grap.c 1 Mar 2003 04:02:28 -0000 1.1
+++ grap.c 16 Nov 2004 21:42:04 -0000 1.2
@@ -77,7 +77,7 @@
/* Define what strings are acceptable in <command>
define an optional execution path CMD_PATH if desired */
-char *commands[] = { "cvs", "server", NULL };
+char *commands[] = { "cvs", "server", "svnserve", NULL };
#define MAXARGS 256
@@ -98,7 +98,7 @@
if(argc < 3) {
/* printf("FATAL: %s bailed because not enough
options.\n", argv[0]); */
- printf("\nWelcome to cvs\n\n");
+ printf("\nWelcome to GForge SCM\n\n");
printf("This is a restricted Shell Account\n");
printf("You cannot execute anything here.\n\n");
@@ -113,7 +113,7 @@
if(options[i] == NULL || strlen(argv[OPTION_ARGC]) > MAXSTRLEN)
{
/* printf("FATAL: %s bailed because options didn't
qualify.\n", argv[0]); */
- printf("\nWelcome to cvs\n\n");
+ printf("\nWelcome to GForge SCM\n\n");
printf("This is a restricted Shell Account\n");
printf("You cannot execute anything here.\n\n");
@@ -152,7 +152,7 @@
/* printf("FATAL: %s bailed because command didn't qualify.\n",
args[CMD_POS]); */
- printf("\nWelcome to cvs\n\n");
+ printf("\nWelcome to GForge SCM\n\n");
printf("This is a restricted Shell Account\n");
printf("You cannot execute anything here.\n\n");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/cronjobs/cvs-cron grap.c,1.1,1.2,
cbayle <=