Permalink
Browse files

版本库更名。

npeditor.git -> ezWork.git
更改脚本中配置文件的绝对路径。
  • Loading branch information...
1 parent bf62b21 commit 2379b810b5a9f6449b695a284f5c35e74988bdf6 Geng Shuang committed Apr 18, 2012
Showing with 8 additions and 8 deletions.
  1. +4 −4 ezDailys.pl
  2. +2 −2 ezRegister
  3. +2 −2 getuseroptions.pl
View
@@ -5,8 +5,8 @@
use MIME::Base64;
my $SPECUSER = @ARGV ? shift : '';
-my $USERFILE = '/home/gengs/develops/npeditor/accounts';
-my $USERSELS = '/home/gengs/develops/npeditor/useroptions';
+my $USERFILE = '/home/gengs/develops/ezWork/accounts';
+my $USERSELS = '/home/gengs/develops/ezWork/useroptions';
my %FIELDSDEF = (
TASK => 'txtTask',
@@ -36,7 +36,7 @@
print "Reporting for $user_name\n";
- my $chk_pass_ol = `perl /home/gengs/develops/npeditor/getuseroptions.pl "$user_name" "$user_pass"`;
+ my $chk_pass_ol = `perl /home/gengs/develops/ezWork/getuseroptions.pl "$user_name" "$user_pass"`;
if ($chk_pass_ol =~ /!ERROR! Invalid username or password!!/) {
print "!!WARNING!! Account [$user_name] can not be verified.\n";
@@ -46,7 +46,7 @@
print "!!WARNING!! Account [$user_name] has wrong setting in field [$err].\n";
}
else {
- my $reportstr = "perl /home/gengs/develops/npeditor/ezDaily.pl '$user_name' '$user_pass' ";
+ my $reportstr = "perl /home/gengs/develops/ezWork/ezDaily.pl '$user_name' '$user_pass' ";
foreach my $key ('TASK','PROJ','PROT','ACTV','SACT','PROM') {
$reportstr .= "'".get_field_info($user_name, $FIELDSDEF{$key})."' ";
}
View
@@ -3,8 +3,8 @@
start()
{
echo "start ezRegister"
- cd /home/gengs/develops/npeditor/
- /home/gengs/develops/npeditor/ezRegister.pl &
+ cd /home/gengs/develops/ezWork/
+ /home/gengs/develops/ezWork/ezRegister.pl &
exit 0;
}
stop()
View
@@ -97,7 +97,7 @@
$user_str .= "###$USER{NAME}###\n\n";
print $user_str;
-open my $RH, '< useroptions';
+open my $RH, '< /home/gengs/develops/ezWork/useroptions';
my @usfile = <$RH>;
close $RH;
@@ -106,7 +106,7 @@
$filestr .= $user_str;
}
-open my $WH, '> useroptions';
+open my $WH, '> /home/gengs/develops/ezWork/useroptions';
print $WH $filestr;
close $WH;

0 comments on commit 2379b81

Please sign in to comment.