Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ngx-build: now we also check the last-modified timestamp of util/buil…

…d2.sh (if available).
  • Loading branch information...
commit 662c229719897fbd967751ec53371053c6c2c4df 1 parent 270c0d2
@agentzh agentzh authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 ngx-build
View
6 ngx-build
@@ -159,8 +159,10 @@ if ($force || ! -f $tarball || ! -d "nginx-$version") {
chdir "nginx-$version" or die "cannot switch to nginx-$version\n";
-if ($force || ! -f "Makefile" || -M "$root/config" < -M "Makefile" ||
- -M "$root/util/build.sh" < -M "Makefile")
+if ($force || ! -f "Makefile" || -M "$root/config" < -M "Makefile"
+ || -M "$root/util/build.sh" < -M "Makefile"
+ || (-f "$root/util/build2.sh"
+ && -M "$root/util/build2.sh" < -M "Makefile"))
{
configure_nginx();
}
Please sign in to comment.
Something went wrong with that request. Please try again.