[Groonga-commit] groonga/groonga [master] groonga-httpd: fix the same source directory detection

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 9日 (月) 18:14:32 JST


Kouhei Sutou	2012-07-09 18:14:32 +0900 (Mon, 09 Jul 2012)

  New Revision: 90fc32184c05bf6e9d00f3e8819ebca9e7e52b62
  https://github.com/groonga/groonga/commit/90fc32184c05bf6e9d00f3e8819ebca9e7e52b62

  Log:
    groonga-httpd: fix the same source directory detection

  Modified files:
    vendor/nginx/configure

  Modified: vendor/nginx/configure (+1 -2)
===================================================================
--- vendor/nginx/configure    2012-07-09 17:59:36 +0900 (01a2fd0)
+++ vendor/nginx/configure    2012-07-09 18:14:32 +0900 (db79ae6)
@@ -7,11 +7,10 @@ nginx_version=1.2.1
 export GROONGA_HTTPD_IN_TREE=yes
 . "../../groonga-httpd-conf.sh"
 
-echo "$0"
 source_directory="`dirname \"$0\"`"
 absolute_source_directory="`cd \"$source_directory\"/../.. && pwd`"
 
-if [ "$absolute_source_directory" != "`pwd`" ]; then
+if [ "$absolute_source_directory/vendor/nginx" != "`pwd`" ]; then
     rm -rf ../nginx-${nginx_version}
     cp -rp "$absolute_source_directory/vendor/nginx-${nginx_version}" ../
 fi
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index