зеркало из https://github.com/mozilla/pjs.git
Bug 325316 - [p=reed r=bear]
This commit is contained in:
Родитель
d6b0f97e1d
Коммит
7f1b5f493a
|
@ -36,54 +36,57 @@ CO=@CO@
|
|||
RCSDIFF=@RCSDIFF@
|
||||
CVSGRAPH=@CVSGRAPH@
|
||||
|
||||
FILES = CGI.pl \
|
||||
addcheckin.pl \
|
||||
admin.cgi \
|
||||
adminfuncs.pl \
|
||||
adminmail.pl \
|
||||
closemessage \
|
||||
contacthelp.html \
|
||||
countcheckins.cgi \
|
||||
createlegaldirs.pl \
|
||||
cvsblame.cgi \
|
||||
cvsblame.pl \
|
||||
cvsguess.cgi \
|
||||
cvsgraph.cgi \
|
||||
cvslog.cgi \
|
||||
cvsquery.cgi \
|
||||
cvsquery.pl \
|
||||
cvsqueryform.cgi \
|
||||
cvsregexp.html \
|
||||
cvsview2.cgi \
|
||||
defparams.pl \
|
||||
doadmin.cgi \
|
||||
doeditcheckin.cgi \
|
||||
doeditmessage.cgi \
|
||||
doeditparams.cgi \
|
||||
doeditwhiteboard.cgi \
|
||||
dolog.pl \
|
||||
dotweak.cgi \
|
||||
editcheckin.cgi \
|
||||
editmessage.cgi \
|
||||
editparams.cgi \
|
||||
editwhiteboard.cgi \
|
||||
get_line.pl \
|
||||
globals.pl \
|
||||
handleAdminMail.pl \
|
||||
handleCheckinMail.pl \
|
||||
index.html \
|
||||
maketables.sh \
|
||||
moduleanalyse.cgi \
|
||||
modules.pl \
|
||||
multidiff.cgi \
|
||||
openmessage \
|
||||
rebuildcvshistory.cgi \
|
||||
repophook.cgi \
|
||||
rview.cgi \
|
||||
showcheckins.cgi \
|
||||
switchtree.cgi \
|
||||
toplevel.cgi \
|
||||
viewold.cgi
|
||||
FILES = CGI.pl \
|
||||
addcheckin.pl \
|
||||
adminfuncs.pl \
|
||||
adminmail.pl \
|
||||
bonsai.gif \
|
||||
bonsai.ico \
|
||||
closemessage \
|
||||
contacthelp.html \
|
||||
createlegaldirs.pl \
|
||||
cvsblame.pl \
|
||||
cvsquery.pl \
|
||||
cvsregexp.html \
|
||||
defparams.pl \
|
||||
dolog.pl \
|
||||
get_line.pl \
|
||||
globals.pl \
|
||||
handleAdminMail.pl \
|
||||
handleCheckinMail.pl \
|
||||
index.html \
|
||||
modules.pl \
|
||||
openmessage
|
||||
|
||||
EXECFILES = admin.cgi \
|
||||
countcheckins.cgi \
|
||||
cvsblame.cgi \
|
||||
cvsguess.cgi \
|
||||
cvsgraph.cgi \
|
||||
cvslog.cgi \
|
||||
cvsquery.cgi \
|
||||
cvsqueryform.cgi \
|
||||
cvsview2.cgi \
|
||||
doadmin.cgi \
|
||||
doeditcheckin.cgi \
|
||||
doeditmessage.cgi \
|
||||
doeditparams.cgi \
|
||||
doeditwhiteboard.cgi \
|
||||
dotweak.cgi \
|
||||
editcheckin.cgi \
|
||||
editmessage.cgi \
|
||||
editparams.cgi \
|
||||
editwhiteboard.cgi \
|
||||
maketables.sh \
|
||||
moduleanalyse.cgi \
|
||||
multidiff.cgi \
|
||||
rebuildcvshistory.cgi \
|
||||
repophook.cgi \
|
||||
rview.cgi \
|
||||
showcheckins.cgi \
|
||||
switchtree.cgi \
|
||||
toplevel.cgi \
|
||||
viewold.cgi
|
||||
|
||||
all: treeconfig.pl params
|
||||
|
||||
|
@ -104,11 +107,12 @@ install: all
|
|||
echo Installing $$I && \
|
||||
sed -e s#/usr/bin/perl#$(PERL)#g \
|
||||
$$I > $(PREFIX)/$$I && \
|
||||
chmod 755 $(PREFIX)/$$I; done
|
||||
cp bonsai.gif $(PREFIX)
|
||||
chmod 644 $(PREFIX)/bonsai.gif
|
||||
cp bonsai.ico $(PREFIX)
|
||||
chmod 644 $(PREFIX)/bonsai.ico
|
||||
chmod 644 $(PREFIX)/$$I; done
|
||||
@for I in $(EXECFILES); do \
|
||||
echo Installing CGI file $$I && \
|
||||
sed -e s#/usr/bin/perl#$(PERL)#g \
|
||||
$$I > $(PREFIX)/$$I && \
|
||||
chmod 755 $(PREFIX)/$$I; done
|
||||
-mkdir -p $(PREFIX)/data && chmod 777 $(PREFIX)/data
|
||||
cp htaccess-dist $(PREFIX)/data/.htaccess
|
||||
chmod 644 $(PREFIX)/data/.htaccess
|
||||
|
|
|
@ -620,7 +620,7 @@ sub LoadDirList {
|
|||
if (-f $modules) {
|
||||
if ((!(-f $dirsfile)) ||
|
||||
((-M $dirsfile) > (-M $modules))) {
|
||||
system("./createlegaldirs.pl", $::TreeID);
|
||||
system("/usr/bin/perl", "createlegaldirs.pl", $::TreeID);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ while (<STDIN>) {
|
|||
}
|
||||
close(FILE);
|
||||
chmod(0666, $filename);
|
||||
system("./adminmail.pl", $filename);
|
||||
system("/usr/bin/perl", "-w", "adminmail.pl", $filename);
|
||||
|
||||
# unlink($filename);
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ while (<STDIN>) {
|
|||
}
|
||||
close(FILE);
|
||||
chmod(0666, $filename);
|
||||
system("./addcheckin.pl", $filename);
|
||||
system("/usr/bin/perl", "-w", "addcheckin.pl", $filename);
|
||||
|
||||
unlink($filename);
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
$inprocess = "data/queue/processing-$$";
|
||||
|
||||
foreach $file (sort(glob("data/queue/*.q"))) {
|
||||
rename $file, $inprocess || die "Couldn't rename queue file.";
|
||||
system "./dolog.pl < $inprocess";
|
||||
rename $inprocess, "$file.done";
|
||||
rename($file, $inprocess) || die "Couldn't rename queue file.";
|
||||
system("/usr/bin/perl", "-T", "dolog.pl", "<", "$inprocess");
|
||||
rename($inprocess, "$file.done");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче