[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/cronjobs/tarballs tarballs.php,1.1,1.2
From: |
cbayle |
Subject: |
[Gforge-commits] gforge/cronjobs/tarballs tarballs.php,1.1,1.2 |
Date: |
Wed, 21 Jul 2004 15:39:32 -0500 |
Update of /cvsroot/gforge/gforge/cronjobs/tarballs
In directory db.perdue.net:/tmp/cvs-serv8671/cronjobs/tarballs
Modified Files:
tarballs.php
Log Message:
cvs to scm renaming
Index: tarballs.php
===================================================================
RCS file: /cvsroot/gforge/gforge/cronjobs/tarballs/tarballs.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tarballs.php 25 Mar 2004 19:28:11 -0000 1.1
+++ tarballs.php 21 Jul 2004 20:39:29 -0000 1.2
@@ -4,24 +4,24 @@
require ('squal_pre.php');
require ('common/include/cron_utils.php');
-$sys_cvs_root_path = '/cvsroot';
+$sys_scm_root_path = '/cvsroot';
-if(!isset($sys_cvs_root_path)) {
- $err = 'You have to define $sys_cvs_root_path variable in your config
file.';
-} elseif(!isset($sys_cvs_tarballs_path)) {
- $err = 'You have to define $sys_cvs_tarballs_path variable in your
config file.';
-} elseif(!is_dir($sys_cvs_root_path) || !is_readable($sys_cvs_root_path)) {
- $err = $sys_cvs_root_path.' is not a directory or is not readable.';
-} elseif(!is_dir($sys_cvs_tarballs_path) ||
!is_writable($sys_cvs_tarballs_path)) {
- $err = $sys_cvs_tarballs_path.' is not a directory or is not writable.';
+if(!isset($sys_scm_root_path)) {
+ $err = 'You have to define $sys_scm_root_path variable in your config
file.';
+} elseif(!isset($sys_scm_tarballs_path)) {
+ $err = 'You have to define $sys_scm_tarballs_path variable in your
config file.';
+} elseif(!is_dir($sys_scm_root_path) || !is_readable($sys_scm_root_path)) {
+ $err = $sys_scm_root_path.' is not a directory or is not readable.';
+} elseif(!is_dir($sys_scm_tarballs_path) ||
!is_writable($sys_scm_tarballs_path)) {
+ $err = $sys_scm_tarballs_path.' is not a directory or is not writable.';
} else {
- exec('./tarballs.sh generate '.$sys_cvs_root_path.'
'.$sys_cvs_tarballs_path.' 2>&1', $output);
+ exec('./tarballs.sh generate '.$sys_scm_root_path.'
'.$sys_scm_tarballs_path.' 2>&1', $output);
$err = implode("\n", $output);
if(empty($err)) {
- $err = 'CVS tarballs generated';
+ $err = 'SCM tarballs generated';
}
}
cron_entry(19, $err);
-?>
\ No newline at end of file
+?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/cronjobs/tarballs tarballs.php,1.1,1.2,
cbayle <=
- Prev by Date:
[Gforge-commits] gforge/www/scm scm_utils.php,1.7,1.8
- Next by Date:
[Gforge-commits] gforge/etc/httpd.d 01common, 1.1, 1.2 07maindirhttp.ssl, NONE, 1.1 07maindirhttps, 1.2, NONE
- Previous by thread:
[Gforge-commits] gforge/www/scm scm_utils.php,1.7,1.8
- Next by thread:
[Gforge-commits] gforge/etc/httpd.d 01common, 1.1, 1.2 07maindirhttp.ssl, NONE, 1.1 07maindirhttps, 1.2, NONE
- Index(es):