1
0

patch-auto_install 795 B

123456789101112131415161718
  1. --- nginx-1.2.2.orig/auto/install 2012-01-18 16:07:43.000000000 +0100
  2. +++ nginx-1.2.2/auto/install 2012-07-16 16:45:40.000000000 +0200
  3. @@ -100,12 +100,9 @@ install: $NGX_OBJS${ngx_dirsep}nginx${ng
  4. $NGX_INSTALL_PERL_MODULES
  5. test -d '\$(DESTDIR)$NGX_PREFIX' || mkdir -p '\$(DESTDIR)$NGX_PREFIX'
  6. - test -d '\$(DESTDIR)`dirname "$NGX_SBIN_PATH"`' \
  7. - || mkdir -p '\$(DESTDIR)`dirname "$NGX_SBIN_PATH"`'
  8. - test ! -f '\$(DESTDIR)$NGX_SBIN_PATH' \
  9. - || mv '\$(DESTDIR)$NGX_SBIN_PATH' \
  10. - '\$(DESTDIR)$NGX_SBIN_PATH.old'
  11. - cp $NGX_OBJS/nginx '\$(DESTDIR)$NGX_SBIN_PATH'
  12. + test -d '\$(DESTDIR)$NGX_SBIN_PATH' \
  13. + || mkdir -p '\$(DESTDIR)$NGX_SBIN_PATH'
  14. + cp $NGX_OBJS/nginx '\$(DESTDIR)$NGX_SBIN_PATH/'
  15. test -d '\$(DESTDIR)$NGX_CONF_PREFIX' \
  16. || mkdir -p '\$(DESTDIR)$NGX_CONF_PREFIX'