projects
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
435968c
)
update update.pl
author
Peng Li
<seudut@gmail.com>
Sun, 5 Mar 2017 13:21:31 +0000
(21:21 +0800)
committer
Peng Li
<seudut@gmail.com>
Sun, 5 Mar 2017 13:21:31 +0000
(21:21 +0800)
cgi-bin/update.pl
patch
|
blob
|
history
diff --git
a/cgi-bin/update.pl
b/cgi-bin/update.pl
index
ec288f8
..
d69f529
100755
(executable)
--- a/
cgi-bin/update.pl
+++ b/
cgi-bin/update.pl
@@
-4,12
+4,15
@@
use strict;
use CGI qw/:standard/;
-print `cd .. && make update`;
+my $out = `cd .. && make update 2>&1`;
+my $ret = $?;
print header;
print start_html("Update");
print br;
print "Hello world\n";
+print $ret;
+print $out;
print end_html;