update update.pl
authorPeng Li <seudut@gmail.com>
Sun, 5 Mar 2017 13:08:21 +0000 (21:08 +0800)
committerPeng Li <seudut@gmail.com>
Sun, 5 Mar 2017 13:08:21 +0000 (21:08 +0800)
cgi-bin/update.pl

index c560e39..ec288f8 100755 (executable)
@@ -4,10 +4,11 @@ use strict;
 
 use CGI qw/:standard/;
 
+print `cd .. && make update`;
+
 print header;
 print start_html("Update");
 print br;
-print `make update`;
 
 print "Hello world\n";